diff --git a/ChangeLog b/ChangeLog index d0621aafc..f762f2c31 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +20010315 + - OpenBSD CVS Sync + - markus@cvs.openbsd.org 2001/03/14 08:57:14 + [sftp-client.c] + Wall + 20010314 - OpenBSD CVS Sync - markus@cvs.openbsd.org 2001/03/13 17:34:42 @@ -4545,4 +4551,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.955 2001/03/14 00:39:45 djm Exp $ +$Id: ChangeLog,v 1.956 2001/03/14 15:16:34 mouring Exp $ diff --git a/sftp-client.c b/sftp-client.c index 9f77d366c..87f3053f6 100644 --- a/sftp-client.c +++ b/sftp-client.c @@ -29,7 +29,7 @@ /* XXX: copy between two remote sites */ #include "includes.h" -RCSID("$OpenBSD: sftp-client.c,v 1.12 2001/03/13 22:42:54 djm Exp $"); +RCSID("$OpenBSD: sftp-client.c,v 1.13 2001/03/14 08:57:14 markus Exp $"); #include "ssh.h" #include "buffer.h" @@ -281,7 +281,7 @@ do_lsreaddir(int fd_in, int fd_out, char *path, int printflag, SFTP_DIRENT ***dir) { Buffer msg; - u_int type, id, handle_len, i, expected_id, ents; + u_int type, id, handle_len, i, expected_id, ents = 0; char *handle; id = msg_id++;