diff options
author | Tim Rice <tim@multitalents.net> | 2005-08-15 14:52:50 -0700 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2005-08-15 14:52:50 -0700 |
commit | 027e8b10f520866dccfff08afb6ff12cac20ac7f (patch) | |
tree | 58e7e86418355eda3912b8792bd18ef982bab2bc /sftp.c | |
parent | 0e2c1028583da14b61e311fdcf8859f4335fc3be (diff) |
- (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) | |||
1355 | } | 1355 | } |
1356 | xfree(pwd); | 1356 | xfree(pwd); |
1357 | 1357 | ||
1358 | #ifdef USE_LIBEDIT | ||
1358 | if (el != NULL) | 1359 | if (el != NULL) |
1359 | el_end(el); | 1360 | el_end(el); |
1361 | #endif /* USE_LIBEDIT */ | ||
1360 | 1362 | ||
1361 | /* err == 1 signifies normal "quit" exit */ | 1363 | /* err == 1 signifies normal "quit" exit */ |
1362 | return (err >= 0 ? 0 : -1); | 1364 | return (err >= 0 ? 0 : -1); |