summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-03-22 01:05:27 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-03-22 01:05:27 +0000
commit83b79e48dfd954463f8f6d6cdc62b2b63fdcb653 (patch)
tree4801cefbc47024bc4b6eaf7a18fe65e329bb219c
parenteb50545365a3ec253b61dad4e3f7833a58ec6f16 (diff)
- itojun@cvs.openbsd.org 2002/03/11 03:19:53
[sftp-client.c] indent
-rw-r--r--ChangeLog5
-rw-r--r--sftp-client.c8
2 files changed, 8 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 0cc07e33..6a80682c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,9 @@
- itojun@cvs.openbsd.org 2002/03/11 03:18:49
[sftp-client.c]
correct type mismatches (u_int64_t != unsigned long long)
+ - itojun@cvs.openbsd.org 2002/03/11 03:19:53
+ [sftp-client.c]
+ indent
20020317
- (tim) [configure.ac] Assume path given with --with-pid-dir=PATH is wanted,
@@ -7852,4 +7855,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
-$Id: ChangeLog,v 1.1925 2002/03/22 01:03:15 mouring Exp $
+$Id: ChangeLog,v 1.1926 2002/03/22 01:05:27 mouring Exp $
diff --git a/sftp-client.c b/sftp-client.c
index ca4669e1..fd252671 100644
--- a/sftp-client.c
+++ b/sftp-client.c
@@ -28,7 +28,7 @@
/* XXX: copy between two remote sites */
#include "includes.h"
-RCSID("$OpenBSD: sftp-client.c,v 1.26 2002/03/11 03:18:49 itojun Exp $");
+RCSID("$OpenBSD: sftp-client.c,v 1.27 2002/03/11 03:19:53 itojun Exp $");
#if defined(HAVE_SYS_QUEUE_H) && !defined(HAVE_BOGUS_SYS_QUEUE_H)
#include <sys/queue.h>
@@ -884,9 +884,9 @@ do_download(struct sftp_conn *conn, char *remote_path, char *local_path,
/* Resend the request for the missing data */
debug3("Short data block, re-requesting "
"%llu -> %llu (%2d)",
- (unsigned long long)req->offset + len,
- (unsigned long long)req->offset + req->len - 1,
- num_req);
+ (unsigned long long)req->offset + len,
+ (unsigned long long)req->offset +
+ req->len - 1, num_req);
req->id = conn->msg_id++;
req->len -= len;
req->offset += len;