summaryrefslogtreecommitdiff
path: root/sftp.c
diff options
context:
space:
mode:
authordtucker <dtucker>2010-01-08 08:56:33 +0000
committerdtucker <dtucker>2010-01-08 08:56:33 +0000
commit80ccde2eab4bfa4b0483ebc7a99ec5e4aacbad7a (patch)
tree2dae0f4117852c05ec29975b428e7a5475b2edb0 /sftp.c
parent9639c3a4566ecd286fceb1b640fd339920bb3a21 (diff)
downloadopenssh-80ccde2eab4bfa4b0483ebc7a99ec5e4aacbad7a.tar.gz
- (dtucker) [sftp.c] Expand ifdef for libedit to cover complete_is_remote
too.
Diffstat (limited to 'sftp.c')
-rw-r--r--sftp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sftp.c b/sftp.c
index c994887e..4b12fae4 100644
--- a/sftp.c
+++ b/sftp.c
@@ -1645,7 +1645,6 @@ complete_cmd_parse(EditLine *el, char *cmd, int lastarg, char quote,
return count;
}
-#endif
/*
* Determine whether a particular sftp command's arguments (if any)
@@ -1666,7 +1665,6 @@ complete_is_remote(char *cmd) {
return -1;
}
-#ifdef USE_LIBEDIT
/* Autocomplete a filename "file" */
static int
complete_match(EditLine *el, struct sftp_conn *conn, char *remote_path,