summaryrefslogtreecommitdiff
path: root/sftp.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2016-04-08 08:19:17 +0000
committerDamien Miller <djm@mindrot.org>2016-04-08 18:21:51 +1000
commit34a01b2cf737d946ddb140618e28c3048ab7a229 (patch)
treeaa03f4ff1e5ce459a11579f7b845a4a3ddf608a1 /sftp.c
parent90ee563fa6b54c59896c6c332c5188f866c5e75f (diff)
upstream commit
whitespace at EOL Upstream-ID: 5beffd4e001515da12851b974e2323ae4aa313b6
Diffstat (limited to 'sftp.c')
-rw-r--r--sftp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sftp.c b/sftp.c
index 2077219fa..3d2d13aaf 100644
--- a/sftp.c
+++ b/sftp.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sftp.c,v 1.172 2016/02/15 09:47:49 dtucker Exp $ */ 1/* $OpenBSD: sftp.c,v 1.173 2016/04/08 08:19:17 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> 3 * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
4 * 4 *
@@ -735,7 +735,7 @@ process_put(struct sftp_conn *conn, char *src, char *dst, char *pwd,
735 735
736 resume |= global_aflag; 736 resume |= global_aflag;
737 if (!quiet && resume) 737 if (!quiet && resume)
738 printf("Resuming upload of %s to %s\n", g.gl_pathv[i], 738 printf("Resuming upload of %s to %s\n", g.gl_pathv[i],
739 abs_dst); 739 abs_dst);
740 else if (!quiet && !resume) 740 else if (!quiet && !resume)
741 printf("Uploading %s to %s\n", g.gl_pathv[i], abs_dst); 741 printf("Uploading %s to %s\n", g.gl_pathv[i], abs_dst);
@@ -1205,7 +1205,7 @@ makeargv(const char *arg, int *argcp, int sloppy, char *lastquote,
1205 1205
1206static int 1206static int
1207parse_args(const char **cpp, int *ignore_errors, int *aflag, 1207parse_args(const char **cpp, int *ignore_errors, int *aflag,
1208 int *fflag, int *hflag, int *iflag, int *lflag, int *pflag, 1208 int *fflag, int *hflag, int *iflag, int *lflag, int *pflag,
1209 int *rflag, int *sflag, 1209 int *rflag, int *sflag,
1210 unsigned long *n_arg, char **path1, char **path2) 1210 unsigned long *n_arg, char **path1, char **path2)
1211{ 1211{
@@ -1397,7 +1397,7 @@ parse_dispatch_command(struct sftp_conn *conn, const char *cmd, char **pwd,
1397 int err_abort) 1397 int err_abort)
1398{ 1398{
1399 char *path1, *path2, *tmp; 1399 char *path1, *path2, *tmp;
1400 int ignore_errors = 0, aflag = 0, fflag = 0, hflag = 0, 1400 int ignore_errors = 0, aflag = 0, fflag = 0, hflag = 0,
1401 iflag = 0; 1401 iflag = 0;
1402 int lflag = 0, pflag = 0, rflag = 0, sflag = 0; 1402 int lflag = 0, pflag = 0, rflag = 0, sflag = 0;
1403 int cmdnum, i; 1403 int cmdnum, i;