summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-03-14 08:57:15 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-03-14 08:57:15 +0000
commit2f1427fdd4a6057612b3ebadf344b16bfb2bbd5a (patch)
tree811cb21d64f7ca879740e864c4af2da16b68a2d5
parent61295d6a90f797f6f37a0d86581537ee560e4f72 (diff)
Wall
-rw-r--r--usr.bin/ssh/sftp-client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sftp-client.c b/usr.bin/ssh/sftp-client.c
index e89ce7ba2a2..886e6fbb731 100644
--- a/usr.bin/ssh/sftp-client.c
+++ b/usr.bin/ssh/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++;