From 027e8b10f520866dccfff08afb6ff12cac20ac7f Mon Sep 17 00:00:00 2001 From: Tim Rice Date: Mon, 15 Aug 2005 14:52:50 -0700 Subject: - (tim) wrap el_end() in #ifdef USE_LIBEDIT --- sftp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sftp.c') diff --git a/sftp.c b/sftp.c index 0f1aa4b54..9f6c88fb5 100644 --- a/sftp.c +++ b/sftp.c @@ -1355,8 +1355,10 @@ interactive_loop(int fd_in, int fd_out, char *file1, char *file2) } xfree(pwd); +#ifdef USE_LIBEDIT if (el != NULL) el_end(el); +#endif /* USE_LIBEDIT */ /* err == 1 signifies normal "quit" exit */ return (err >= 0 ? 0 : -1); -- cgit v1.2.3