diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sftp-client.c | 8 |
2 files changed, 8 insertions, 5 deletions
@@ -6,6 +6,9 @@ | |||
6 | - itojun@cvs.openbsd.org 2002/03/11 03:18:49 | 6 | - itojun@cvs.openbsd.org 2002/03/11 03:18:49 |
7 | [sftp-client.c] | 7 | [sftp-client.c] |
8 | correct type mismatches (u_int64_t != unsigned long long) | 8 | correct type mismatches (u_int64_t != unsigned long long) |
9 | - itojun@cvs.openbsd.org 2002/03/11 03:19:53 | ||
10 | [sftp-client.c] | ||
11 | indent | ||
9 | 12 | ||
10 | 20020317 | 13 | 20020317 |
11 | - (tim) [configure.ac] Assume path given with --with-pid-dir=PATH is wanted, | 14 | - (tim) [configure.ac] Assume path given with --with-pid-dir=PATH is wanted, |
@@ -7852,4 +7855,4 @@ | |||
7852 | - Wrote replacements for strlcpy and mkdtemp | 7855 | - Wrote replacements for strlcpy and mkdtemp |
7853 | - Released 1.0pre1 | 7856 | - Released 1.0pre1 |
7854 | 7857 | ||
7855 | $Id: ChangeLog,v 1.1925 2002/03/22 01:03:15 mouring Exp $ | 7858 | $Id: ChangeLog,v 1.1926 2002/03/22 01:05:27 mouring Exp $ |
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" |
31 | RCSID("$OpenBSD: sftp-client.c,v 1.26 2002/03/11 03:18:49 itojun Exp $"); | 31 | RCSID("$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; |