- (tim) wrap el_end() in #ifdef USE_LIBEDIT
This commit is contained in:
parent
0e2c102858
commit
027e8b10f5
|
@ -1,3 +1,6 @@
|
||||||
|
20050815
|
||||||
|
- (tim) wrap el_end() in #ifdef USE_LIBEDIT
|
||||||
|
|
||||||
20050812
|
20050812
|
||||||
- (djm) OpenBSD CVS Sync
|
- (djm) OpenBSD CVS Sync
|
||||||
- markus@cvs.openbsd.org 2005/07/28 17:36:22
|
- markus@cvs.openbsd.org 2005/07/28 17:36:22
|
||||||
|
@ -2932,4 +2935,4 @@
|
||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.3871 2005/08/12 12:16:22 djm Exp $
|
$Id: ChangeLog,v 1.3872 2005/08/15 21:52:50 tim Exp $
|
||||||
|
|
2
sftp.c
2
sftp.c
|
@ -1355,8 +1355,10 @@ interactive_loop(int fd_in, int fd_out, char *file1, char *file2)
|
||||||
}
|
}
|
||||||
xfree(pwd);
|
xfree(pwd);
|
||||||
|
|
||||||
|
#ifdef USE_LIBEDIT
|
||||||
if (el != NULL)
|
if (el != NULL)
|
||||||
el_end(el);
|
el_end(el);
|
||||||
|
#endif /* USE_LIBEDIT */
|
||||||
|
|
||||||
/* err == 1 signifies normal "quit" exit */
|
/* err == 1 signifies normal "quit" exit */
|
||||||
return (err >= 0 ? 0 : -1);
|
return (err >= 0 ? 0 : -1);
|
||||||
|
|
Loading…
Reference in New Issue