diff options
Diffstat (limited to 'sftp-client.c')
-rw-r--r-- | sftp-client.c | 4 |
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 @@ | |||
1 | /* $OpenBSD: sftp-client.c,v 1.121 2016/02/11 02:21:34 djm Exp $ */ | 1 | /* $OpenBSD: sftp-client.c,v 1.122 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 | * |
@@ -1601,7 +1601,7 @@ do_upload(struct sftp_conn *conn, const char *local_path, | |||
1601 | if (resume) { | 1601 | if (resume) { |
1602 | /* Get remote file size if it exists */ | 1602 | /* Get remote file size if it exists */ |
1603 | if ((c = do_stat(conn, remote_path, 0)) == NULL) { | 1603 | if ((c = do_stat(conn, remote_path, 0)) == NULL) { |
1604 | close(local_fd); | 1604 | close(local_fd); |
1605 | return -1; | 1605 | return -1; |
1606 | } | 1606 | } |
1607 | 1607 | ||