summaryrefslogtreecommitdiffstats
path: root/sftp-client.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2016-04-08 10:19:17 +0200
committerDamien Miller <djm@mindrot.org>2016-04-08 10:21:51 +0200
commit34a01b2cf737d946ddb140618e28c3048ab7a229 (patch)
treeaa03f4ff1e5ce459a11579f7b845a4a3ddf608a1 /sftp-client.c
parentupstream commit (diff)
downloadopenssh-34a01b2cf737d946ddb140618e28c3048ab7a229.tar.xz
openssh-34a01b2cf737d946ddb140618e28c3048ab7a229.zip
upstream commit
whitespace at EOL Upstream-ID: 5beffd4e001515da12851b974e2323ae4aa313b6
Diffstat (limited to 'sftp-client.c')
-rw-r--r--sftp-client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sftp-client.c b/sftp-client.c
index d49bfaaba..cd990579e 100644
--- a/sftp-client.c
+++ b/sftp-client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp-client.c,v 1.121 2016/02/11 02:21:34 djm Exp $ */
+/* $OpenBSD: sftp-client.c,v 1.122 2016/04/08 08:19:17 djm Exp $ */
/*
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
*
@@ -1601,7 +1601,7 @@ do_upload(struct sftp_conn *conn, const char *local_path,
if (resume) {
/* Get remote file size if it exists */
if ((c = do_stat(conn, remote_path, 0)) == NULL) {
- close(local_fd);
+ close(local_fd);
return -1;
}