diff options
author | Damien Miller <djm@mindrot.org> | 2002-09-12 09:54:25 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-09-12 09:54:25 +1000 |
commit | e1a49817078a22056be87cde74467d52583e9ea1 (patch) | |
tree | 1ad843d67b9e1ebaf49a91be0004aed57485c3db /sftp-client.c | |
parent | 789e95dbe931bad60cb5f91d995470f433f4e02b (diff) |
- djm@cvs.openbsd.org 2002/09/11 22:41:50
[sftp.1 sftp-client.c sftp-client.h sftp-common.c sftp-common.h]
[sftp-glob.c sftp-glob.h sftp-int.c sftp-server.c]
support for short/long listings and globbing in "ls"; ok markus@
Diffstat (limited to 'sftp-client.c')
-rw-r--r-- | sftp-client.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sftp-client.c b/sftp-client.c index c797482a8..f77596813 100644 --- a/sftp-client.c +++ b/sftp-client.c | |||
@@ -28,7 +28,7 @@ | |||
28 | /* XXX: copy between two remote sites */ | 28 | /* XXX: copy between two remote sites */ |
29 | 29 | ||
30 | #include "includes.h" | 30 | #include "includes.h" |
31 | RCSID("$OpenBSD: sftp-client.c,v 1.34 2002/06/27 10:35:47 deraadt Exp $"); | 31 | RCSID("$OpenBSD: sftp-client.c,v 1.35 2002/09/11 22:41:49 djm Exp $"); |
32 | 32 | ||
33 | #include "openbsd-compat/fake-queue.h" | 33 | #include "openbsd-compat/fake-queue.h" |
34 | 34 | ||
@@ -415,12 +415,6 @@ do_lsreaddir(struct sftp_conn *conn, char *path, int printflag, | |||
415 | } | 415 | } |
416 | 416 | ||
417 | int | 417 | int |
418 | do_ls(struct sftp_conn *conn, char *path) | ||
419 | { | ||
420 | return(do_lsreaddir(conn, path, 1, NULL)); | ||
421 | } | ||
422 | |||
423 | int | ||
424 | do_readdir(struct sftp_conn *conn, char *path, SFTP_DIRENT ***dir) | 418 | do_readdir(struct sftp_conn *conn, char *path, SFTP_DIRENT ***dir) |
425 | { | 419 | { |
426 | return(do_lsreaddir(conn, path, 0, dir)); | 420 | return(do_lsreaddir(conn, path, 0, dir)); |