diff options
author | 2001-02-10 00:41:46 +0000 | |
---|---|---|
committer | 2001-02-10 00:41:46 +0000 | |
commit | b7e74cdb49f386fa71ffea4077d2a0522b6d0670 (patch) | |
tree | 0bbf9b0a57fa43cd9a6e1a9bf8427949a47eff41 | |
parent | revert a small change to allow -r option to work again; ok deraadt@ (diff) | |
download | wireguard-openbsd-b7e74cdb49f386fa71ffea4077d2a0522b6d0670.tar.xz wireguard-openbsd-b7e74cdb49f386fa71ffea4077d2a0522b6d0670.zip |
typo; ok Niels
-rw-r--r-- | usr.bin/ssh/sftp-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sftp-client.c b/usr.bin/ssh/sftp-client.c index 490c00bdd86..8338dbc9f71 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.8 2001/02/08 17:11:23 stevesk Exp $"); +RCSID("$OpenBSD: sftp-client.c,v 1.9 2001/02/10 00:41:46 djm Exp $"); #include "ssh.h" #include "buffer.h" @@ -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(status); } } else if (type != SSH2_FXP_NAME) fatal("Expected SSH2_FXP_NAME(%d) packet, got %d", |