parent
eb50545365
commit
83b79e48df
|
@ -6,6 +6,9 @@
|
||||||
- itojun@cvs.openbsd.org 2002/03/11 03:18:49
|
- itojun@cvs.openbsd.org 2002/03/11 03:18:49
|
||||||
[sftp-client.c]
|
[sftp-client.c]
|
||||||
correct type mismatches (u_int64_t != unsigned long long)
|
correct type mismatches (u_int64_t != unsigned long long)
|
||||||
|
- itojun@cvs.openbsd.org 2002/03/11 03:19:53
|
||||||
|
[sftp-client.c]
|
||||||
|
indent
|
||||||
|
|
||||||
20020317
|
20020317
|
||||||
- (tim) [configure.ac] Assume path given with --with-pid-dir=PATH is wanted,
|
- (tim) [configure.ac] Assume path given with --with-pid-dir=PATH is wanted,
|
||||||
|
@ -7852,4 +7855,4 @@
|
||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- 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 $
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
/* XXX: copy between two remote sites */
|
/* XXX: copy between two remote sites */
|
||||||
|
|
||||||
#include "includes.h"
|
#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)
|
#if defined(HAVE_SYS_QUEUE_H) && !defined(HAVE_BOGUS_SYS_QUEUE_H)
|
||||||
#include <sys/queue.h>
|
#include <sys/queue.h>
|
||||||
|
@ -885,8 +885,8 @@ do_download(struct sftp_conn *conn, char *remote_path, char *local_path,
|
||||||
debug3("Short data block, re-requesting "
|
debug3("Short data block, re-requesting "
|
||||||
"%llu -> %llu (%2d)",
|
"%llu -> %llu (%2d)",
|
||||||
(unsigned long long)req->offset + len,
|
(unsigned long long)req->offset + len,
|
||||||
(unsigned long long)req->offset + req->len - 1,
|
(unsigned long long)req->offset +
|
||||||
num_req);
|
req->len - 1, num_req);
|
||||||
req->id = conn->msg_id++;
|
req->id = conn->msg_id++;
|
||||||
req->len -= len;
|
req->len -= len;
|
||||||
req->offset += len;
|
req->offset += len;
|
||||||
|
|
Loading…
Reference in New Issue