summaryrefslogtreecommitdiff
path: root/sftp-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'sftp-client.c')
-rw-r--r--sftp-client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sftp-client.c b/sftp-client.c
index ca4669e19..fd2526710 100644
--- a/sftp-client.c
+++ b/sftp-client.c
@@ -28,7 +28,7 @@
28/* XXX: copy between two remote sites */ 28/* XXX: copy between two remote sites */
29 29
30#include "includes.h" 30#include "includes.h"
31RCSID("$OpenBSD: sftp-client.c,v 1.26 2002/03/11 03:18:49 itojun Exp $"); 31RCSID("$OpenBSD: sftp-client.c,v 1.27 2002/03/11 03:19:53 itojun Exp $");
32 32
33#if defined(HAVE_SYS_QUEUE_H) && !defined(HAVE_BOGUS_SYS_QUEUE_H) 33#if defined(HAVE_SYS_QUEUE_H) && !defined(HAVE_BOGUS_SYS_QUEUE_H)
34#include <sys/queue.h> 34#include <sys/queue.h>
@@ -884,9 +884,9 @@ do_download(struct sftp_conn *conn, char *remote_path, char *local_path,
884 /* Resend the request for the missing data */ 884 /* Resend the request for the missing data */
885 debug3("Short data block, re-requesting " 885 debug3("Short data block, re-requesting "
886 "%llu -> %llu (%2d)", 886 "%llu -> %llu (%2d)",
887 (unsigned long long)req->offset + len, 887 (unsigned long long)req->offset + len,
888 (unsigned long long)req->offset + req->len - 1, 888 (unsigned long long)req->offset +
889 num_req); 889 req->len - 1, num_req);
890 req->id = conn->msg_id++; 890 req->id = conn->msg_id++;
891 req->len -= len; 891 req->len -= len;
892 req->offset += len; 892 req->offset += len;