diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2002-09-11 22:41:51 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2002-09-11 22:41:51 +0000 |
commit | cb94cc7387ca3bbbd76ad311a9fb8b19b0235dd5 (patch) | |
tree | f5ee8b0d61abb8d579fef78802154f3e46d1f453 /usr.bin/ssh/sftp-client.c | |
parent | 99feb6c05dcddbc467a8b1d7cec2f94845d7b275 (diff) |
support for short/long listings and globbing in "ls"; ok markus@
Diffstat (limited to 'usr.bin/ssh/sftp-client.c')
-rw-r--r-- | usr.bin/ssh/sftp-client.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/ssh/sftp-client.c b/usr.bin/ssh/sftp-client.c index 9741e022dce..0bea66c9500 100644 --- a/usr.bin/ssh/sftp-client.c +++ b/usr.bin/ssh/sftp-client.c @@ -28,7 +28,7 @@ /* XXX: copy between two remote sites */ #include "includes.h" -RCSID("$OpenBSD: sftp-client.c,v 1.34 2002/06/27 10:35:47 deraadt Exp $"); +RCSID("$OpenBSD: sftp-client.c,v 1.35 2002/09/11 22:41:49 djm Exp $"); #include <sys/queue.h> @@ -415,12 +415,6 @@ do_lsreaddir(struct sftp_conn *conn, char *path, int printflag, } int -do_ls(struct sftp_conn *conn, char *path) -{ - return(do_lsreaddir(conn, path, 1, NULL)); -} - -int do_readdir(struct sftp_conn *conn, char *path, SFTP_DIRENT ***dir) { return(do_lsreaddir(conn, path, 0, dir)); |