summaryrefslogtreecommitdiff
path: root/sftp-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'sftp-client.c')
-rw-r--r--sftp-client.c8
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"
31RCSID("$OpenBSD: sftp-client.c,v 1.34 2002/06/27 10:35:47 deraadt Exp $"); 31RCSID("$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
417int 417int
418do_ls(struct sftp_conn *conn, char *path)
419{
420 return(do_lsreaddir(conn, path, 1, NULL));
421}
422
423int
424do_readdir(struct sftp_conn *conn, char *path, SFTP_DIRENT ***dir) 418do_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));