summaryrefslogtreecommitdiff
path: root/sftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sftp.c')
-rw-r--r--sftp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sftp.c b/sftp.c
index e288302fa..0be27887f 100644
--- a/sftp.c
+++ b/sftp.c
@@ -24,7 +24,7 @@
24 24
25#include "includes.h" 25#include "includes.h"
26 26
27RCSID("$OpenBSD: sftp.c,v 1.39 2004/01/13 09:25:05 djm Exp $"); 27RCSID("$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;
43char *__progname; 43char *__progname;
44#endif 44#endif
45 45
46FILE* infile = stdin; 46FILE* infile;
47int batchmode = 0; 47int batchmode = 0;
48size_t copy_buffer_len = 32768; 48size_t copy_buffer_len = 32768;
49size_t num_requests = 16; 49size_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) {