summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2013-09-19 00:49:12 +0000
committerdjm <djm@openbsd.org>2013-09-19 00:49:12 +0000
commit2c3cf0e3a6e61eb2c1ca616e3a121b7de418e0b3 (patch)
treee72501252f6d548be0879a3b714da90cc689c8c0
parentstore the initial file offset so the progress meter doesn't freak out (diff)
downloadwireguard-openbsd-2c3cf0e3a6e61eb2c1ca616e3a121b7de418e0b3.tar.xz
wireguard-openbsd-2c3cf0e3a6e61eb2c1ca616e3a121b7de418e0b3.zip
fix swapped pflag and printflag in sftp upload_dir; from Iain Morgan
-rw-r--r--usr.bin/ssh/sftp-client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/sftp-client.c b/usr.bin/ssh/sftp-client.c
index 6a48aba885c..7c1fb8ad92d 100644
--- a/usr.bin/ssh/sftp-client.c
+++ b/usr.bin/ssh/sftp-client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp-client.c,v 1.103 2013/08/09 03:39:13 djm Exp $ */
+/* $OpenBSD: sftp-client.c,v 1.104 2013/09/19 00:49:12 djm Exp $ */
/*
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
*
@@ -1631,8 +1631,8 @@ upload_dir_internal(struct sftp_conn *conn, char *src, char *dst,
}
int
-upload_dir(struct sftp_conn *conn, char *src, char *dst, int printflag,
- int pflag)
+upload_dir(struct sftp_conn *conn, char *src, char *dst, int pflag,
+ int printflag)
{
char *dst_canon;
int ret;