summaryrefslogtreecommitdiff
path: root/sftp-client.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-03-22 01:00:57 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-03-22 01:00:57 +0000
commitd45f28c11638632c087b125f3c3edb99d723d634 (patch)
treee6791e658fd31d9b91803a015770609c692e0271 /sftp-client.c
parent3a4234699e662e1e611b31829ea898029b66a6f4 (diff)
- itojun@cvs.openbsd.org 2002/03/08 06:10:16
[sftp-client.c] printf type mismatch
Diffstat (limited to 'sftp-client.c')
-rw-r--r--sftp-client.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sftp-client.c b/sftp-client.c
index 17ac14a9..f3d752cd 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.24 2002/02/24 16:57:19 markus Exp $");
+RCSID("$OpenBSD: sftp-client.c,v 1.25 2002/03/08 06:10:16 itojun Exp $");
#if defined(HAVE_SYS_QUEUE_H) && !defined(HAVE_BOGUS_SYS_QUEUE_H)
#include <sys/queue.h>
@@ -821,7 +821,9 @@ do_download(struct sftp_conn *conn, char *remote_path, char *local_path,
/* Send some more requests */
while (num_req < max_req) {
debug3("Request range %llu -> %llu (%d/%d)",
- offset, offset + buflen - 1, num_req, max_req);
+ (unsigned long long)offset,
+ (unsigned long long)offset + buflen - 1,
+ num_req, max_req);
req = xmalloc(sizeof(*req));
req->id = conn->msg_id++;
req->len = buflen;