summaryrefslogtreecommitdiff
path: root/sftp-client.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-02-10 00:37:17 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-02-10 00:37:17 +0000
commitc5dbf7fdc94708670b941c84815b78f61e2cb329 (patch)
tree46ebb0ab8df390eb89a87a7280705f30ef13a94e /sftp-client.c
parent137465b67ce6d5e6a3e99b8b97aed25296a27d96 (diff)
downloadopenssh-git-c5dbf7fdc94708670b941c84815b78f61e2cb329.tar.gz
- (bal) sftp-client.c replace NULL w/ 0 in do_ls() (pending in OpenBSD tree)
Diffstat (limited to 'sftp-client.c')
-rw-r--r--sftp-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sftp-client.c b/sftp-client.c
index 490c00bd..b4ee847d 100644
--- a/sftp-client.c
+++ b/sftp-client.c
@@ -331,7 +331,7 @@ do_ls(int fd_in, int fd_out, char *path)
error("Couldn't read directory: %s",
fx2txt(status));
do_close(fd_in, fd_out, handle, handle_len);
- return(NULL);
+ return(0);
}
} else if (type != SSH2_FXP_NAME)
fatal("Expected SSH2_FXP_NAME(%d) packet, got %d",