commit | 027e8b10f520866dccfff08afb6ff12cac20ac7f | [log] [tgz] |
---|---|---|
author | Tim Rice <tim@multitalents.net> | Mon Aug 15 14:52:50 2005 -0700 |
committer | Tim Rice <tim@multitalents.net> | Mon Aug 15 14:52:50 2005 -0700 |
tree | 58e7e86418355eda3912b8792bd18ef982bab2bc | |
parent | 0e2c1028583da14b61e311fdcf8859f4335fc3be [diff] [blame] |
- (tim) wrap el_end() in #ifdef USE_LIBEDIT
diff --git a/sftp.c b/sftp.c index 0f1aa4b..9f6c88f 100644 --- a/sftp.c +++ b/sftp.c
@@ -1355,8 +1355,10 @@ } 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);