diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | sftp-client.c | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -73,6 +73,7 @@ | |||
73 | [sftp-int.c] | 73 | [sftp-int.c] |
74 | cleanup get_pathname, fix pwd after failed cd. okay djm@ | 74 | cleanup get_pathname, fix pwd after failed cd. okay djm@ |
75 | - (djm) Update makefile.in for _PATH_SFTP_SERVER | 75 | - (djm) Update makefile.in for _PATH_SFTP_SERVER |
76 | - (bal) sftp-client.c replace NULL w/ 0 in do_ls() (pending in OpenBSD tree) | ||
76 | 77 | ||
77 | 20010209 | 78 | 20010209 |
78 | - (bal) patch to vis.c to deal with HAVE_VIS right by Robert Mooney | 79 | - (bal) patch to vis.c to deal with HAVE_VIS right by Robert Mooney |
@@ -3779,4 +3780,4 @@ | |||
3779 | - Wrote replacements for strlcpy and mkdtemp | 3780 | - Wrote replacements for strlcpy and mkdtemp |
3780 | - Released 1.0pre1 | 3781 | - Released 1.0pre1 |
3781 | 3782 | ||
3782 | $Id: ChangeLog,v 1.711 2001/02/09 13:47:59 djm Exp $ | 3783 | $Id: ChangeLog,v 1.712 2001/02/10 00:37:17 mouring Exp $ |
diff --git a/sftp-client.c b/sftp-client.c index 490c00bdd..b4ee847da 100644 --- a/sftp-client.c +++ b/sftp-client.c | |||
@@ -331,7 +331,7 @@ do_ls(int fd_in, int fd_out, char *path) | |||
331 | error("Couldn't read directory: %s", | 331 | error("Couldn't read directory: %s", |
332 | fx2txt(status)); | 332 | fx2txt(status)); |
333 | do_close(fd_in, fd_out, handle, handle_len); | 333 | do_close(fd_in, fd_out, handle, handle_len); |
334 | return(NULL); | 334 | return(0); |
335 | } | 335 | } |
336 | } else if (type != SSH2_FXP_NAME) | 336 | } else if (type != SSH2_FXP_NAME) |
337 | fatal("Expected SSH2_FXP_NAME(%d) packet, got %d", | 337 | fatal("Expected SSH2_FXP_NAME(%d) packet, got %d", |