]> andersk Git - openssh.git/blobdiff - sftp.c
- (dtucker) [sftp.c] Expand ifdef for libedit to cover complete_is_remote
[openssh.git] / sftp.c
diff --git a/sftp.c b/sftp.c
index c994887e3d4502b0f8565b14e1284c70fd274a7a..4b12fae4b1abf6ae26ea83fa0632cbf2b933bf75 100644 (file)
--- 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,
This page took 0.307457 seconds and 4 git commands to generate.