diff options
Diffstat (limited to 'sftp.c')
-rw-r--r-- | sftp.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | 26 | ||
27 | RCSID("$OpenBSD: sftp.c,v 1.39 2004/01/13 09:25:05 djm Exp $"); | 27 | RCSID("$OpenBSD: sftp.c,v 1.40 2004/01/21 03:07:59 djm Exp $"); |
28 | 28 | ||
29 | #include "buffer.h" | 29 | #include "buffer.h" |
30 | #include "xmalloc.h" | 30 | #include "xmalloc.h" |
@@ -43,7 +43,7 @@ extern char *__progname; | |||
43 | char *__progname; | 43 | char *__progname; |
44 | #endif | 44 | #endif |
45 | 45 | ||
46 | FILE* infile = stdin; | 46 | FILE* infile; |
47 | int batchmode = 0; | 47 | int batchmode = 0; |
48 | size_t copy_buffer_len = 32768; | 48 | size_t copy_buffer_len = 32768; |
49 | size_t num_requests = 16; | 49 | size_t num_requests = 16; |
@@ -141,7 +141,9 @@ main(int argc, char **argv) | |||
141 | addargs(&args, "-oForwardX11 no"); | 141 | addargs(&args, "-oForwardX11 no"); |
142 | addargs(&args, "-oForwardAgent no"); | 142 | addargs(&args, "-oForwardAgent no"); |
143 | addargs(&args, "-oClearAllForwardings yes"); | 143 | addargs(&args, "-oClearAllForwardings yes"); |
144 | |||
144 | ll = SYSLOG_LEVEL_INFO; | 145 | ll = SYSLOG_LEVEL_INFO; |
146 | infile = stdin; | ||
145 | 147 | ||
146 | while ((ch = getopt(argc, argv, "1hvCo:s:S:b:B:F:P:R:")) != -1) { | 148 | while ((ch = getopt(argc, argv, "1hvCo:s:S:b:B:F:P:R:")) != -1) { |
147 | switch (ch) { | 149 | switch (ch) { |