diff options
Diffstat (limited to 'sftp-client.c')
-rw-r--r-- | sftp-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
29 | /* XXX: copy between two remote sites */ | 29 | /* XXX: copy between two remote sites */ |
30 | 30 | ||
31 | #include "includes.h" | 31 | #include "includes.h" |
32 | RCSID("$OpenBSD: sftp-client.c,v 1.12 2001/03/13 22:42:54 djm Exp $"); | 32 | RCSID("$OpenBSD: sftp-client.c,v 1.13 2001/03/14 08:57:14 markus Exp $"); |
33 | 33 | ||
34 | #include "ssh.h" | 34 | #include "ssh.h" |
35 | #include "buffer.h" | 35 | #include "buffer.h" |
@@ -281,7 +281,7 @@ do_lsreaddir(int fd_in, int fd_out, char *path, int printflag, | |||
281 | SFTP_DIRENT ***dir) | 281 | SFTP_DIRENT ***dir) |
282 | { | 282 | { |
283 | Buffer msg; | 283 | Buffer msg; |
284 | u_int type, id, handle_len, i, expected_id, ents; | 284 | u_int type, id, handle_len, i, expected_id, ents = 0; |
285 | char *handle; | 285 | char *handle; |
286 | 286 | ||
287 | id = msg_id++; | 287 | id = msg_id++; |