- (bal) Minor correction to sftp-client.c I made. Should return 'status'
instead of '0' (from the OpenBSD tree)
This commit is contained in:
parent
550bc54cba
commit
10ac33f254
|
@ -21,6 +21,8 @@
|
||||||
- danh@cvs.openbsd.org 2001/02/10 15:14:11
|
- danh@cvs.openbsd.org 2001/02/10 15:14:11
|
||||||
[scp.c]
|
[scp.c]
|
||||||
fix memory leak; ok markus@
|
fix memory leak; ok markus@
|
||||||
|
- (bal) Minor correction to sftp-client.c I made. Should return 'status'
|
||||||
|
instead of '0' (from the OpenBSD tree)
|
||||||
|
|
||||||
20010210
|
20010210
|
||||||
- (djm) Sync sftp and scp stuff from OpenBSD:
|
- (djm) Sync sftp and scp stuff from OpenBSD:
|
||||||
|
@ -3804,4 +3806,4 @@
|
||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- Released 1.0pre1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.718 2001/02/10 21:50:00 mouring Exp $
|
$Id: ChangeLog,v 1.719 2001/02/10 21:53:40 mouring Exp $
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
/* XXX: copy between two remote sites */
|
/* XXX: copy between two remote sites */
|
||||||
|
|
||||||
#include "includes.h"
|
#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 "ssh.h"
|
||||||
#include "buffer.h"
|
#include "buffer.h"
|
||||||
|
@ -331,7 +331,7 @@ do_ls(int fd_in, int fd_out, char *path)
|
||||||
error("Couldn't read directory: %s",
|
error("Couldn't read directory: %s",
|
||||||
fx2txt(status));
|
fx2txt(status));
|
||||||
do_close(fd_in, fd_out, handle, handle_len);
|
do_close(fd_in, fd_out, handle, handle_len);
|
||||||
return(0);
|
return(status);
|
||||||
}
|
}
|
||||||
} else if (type != SSH2_FXP_NAME)
|
} else if (type != SSH2_FXP_NAME)
|
||||||
fatal("Expected SSH2_FXP_NAME(%d) packet, got %d",
|
fatal("Expected SSH2_FXP_NAME(%d) packet, got %d",
|
||||||
|
|
Loading…
Reference in New Issue