- (dtucker) [sftp.c] Expand ifdef for libedit to cover complete_is_remote

too.
This commit is contained in:
Darren Tucker 2010-01-08 19:56:33 +11:00
parent 1f5e3dc274
commit 843f0fa16d
2 changed files with 2 additions and 2 deletions

View File

@ -161,6 +161,8 @@
don't have libedit.
- (dtucker) [configure.ac misc.c readconf.c servconf.c ssh-keyscan.c] Make
RoutingDomain an unsupported option on platforms that don't have it.
- (dtucker) [sftp.c] Expand ifdef for libedit to cover complete_is_remote
too.
20091226
- (tim) [contrib/cygwin/Makefile] Install ssh-copy-id and ssh-copy-id.1

2
sftp.c
View File

@ -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,