[sftp-client.c]
     printf type mismatch
This commit is contained in:
Ben Lindstrom 2002-03-22 01:00:57 +00:00
parent 3a4234699e
commit d45f28c116
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,9 @@
20020321
- (bal) OpenBSD CVS Sync
- itojun@cvs.openbsd.org 2002/03/08 06:10:16
[sftp-client.c]
printf type mismatch
20020317
- (tim) [configure.ac] Assume path given with --with-pid-dir=PATH is wanted,
warn if directory does not exist. Put system directories in front of
@ -7843,4 +7849,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.1923 2002/03/17 22:05:24 tim Exp $
$Id: ChangeLog,v 1.1924 2002/03/22 01:00:57 mouring Exp $

View File

@ -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;