]> andersk Git - openssh.git/blobdiff - sftp.c
- fgsch@cvs.openbsd.org 2003/01/10 08:19:07
[openssh.git] / sftp.c
diff --git a/sftp.c b/sftp.c
index d62e9e42c80b25de4bc7d46845f0d8a7180a2f93..e8adcba18f656d1adb060c2486d78df11c58ae79 100644 (file)
--- a/sftp.c
+++ b/sftp.c
@@ -24,7 +24,7 @@
 
 #include "includes.h"
 
-RCSID("$OpenBSD: sftp.c,v 1.33 2003/01/08 23:53:26 djm Exp $");
+RCSID("$OpenBSD: sftp.c,v 1.34 2003/01/10 08:19:07 fgsch Exp $");
 
 /* XXX: short-form remote directory listings (like 'ls -C') */
 
@@ -49,6 +49,8 @@ FILE* infile;
 size_t copy_buffer_len = 32768;
 size_t num_requests = 16;
 
+extern int showprogress;
+
 static void
 connect_to_server(char *path, char **args, int *in, int *out, pid_t *sshpid)
 {
@@ -162,6 +164,7 @@ main(int argc, char **argv)
                                        fatal("%s (%s).", strerror(errno), optarg);
                        } else
                                fatal("Filename already specified.");
+                       showprogress = 0;
                        break;
                case 'P':
                        sftp_direct = optarg;
This page took 0.098565 seconds and 4 git commands to generate.