diff options
author | Tim Rice <tim@multitalents.net> | 2005-08-15 23:52:50 +0200 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2005-08-15 23:52:50 +0200 |
commit | 027e8b10f520866dccfff08afb6ff12cac20ac7f (patch) | |
tree | 58e7e86418355eda3912b8792bd18ef982bab2bc /sftp.c | |
parent | - jaredy@cvs.openbsd.org 2005/08/08 13:22:48 (diff) | |
download | openssh-027e8b10f520866dccfff08afb6ff12cac20ac7f.tar.xz openssh-027e8b10f520866dccfff08afb6ff12cac20ac7f.zip |
- (tim) wrap el_end() in #ifdef USE_LIBEDIT
Diffstat (limited to 'sftp.c')
-rw-r--r-- | sftp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |