mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Don't free RESPLINE if ftp_response returns a status other than FTPOK.
By Vasil Dimov.
This commit is contained in:
parent
fe777884cf
commit
fdb3a03fca
@ -1,3 +1,8 @@
|
|||||||
|
2005-08-09 Vasil Dimov <vd@datamax.bg>
|
||||||
|
|
||||||
|
* ftp.c (getftp): Don't free RESPLINE if ftp_response returns a
|
||||||
|
status other than FTPOK.
|
||||||
|
|
||||||
2005-08-04 Giuseppe Bonacci <g.bonacci@libero.it>
|
2005-08-04 Giuseppe Bonacci <g.bonacci@libero.it>
|
||||||
|
|
||||||
* ftp-ls.c (ftp_parse_unix_ls): Remember the position of the
|
* ftp-ls.c (ftp_parse_unix_ls): Remember the position of the
|
||||||
|
@ -999,7 +999,6 @@ Error in server response, closing control connection.\n"));
|
|||||||
err = ftp_response (csock, &respline);
|
err = ftp_response (csock, &respline);
|
||||||
if (err != FTPOK)
|
if (err != FTPOK)
|
||||||
{
|
{
|
||||||
xfree (respline);
|
|
||||||
/* The control connection is decidedly closed. Print the time
|
/* The control connection is decidedly closed. Print the time
|
||||||
only if it hasn't already been printed. */
|
only if it hasn't already been printed. */
|
||||||
if (res != -1)
|
if (res != -1)
|
||||||
|
Loading…
Reference in New Issue
Block a user