Mercurial > gftp.yaz
changeset 288:c8627e70adb5
2003-10-17 Brian Masney <masneyb@gftp.org>
* lib/rfc959.c (rfc959_ipv[46]_data_connection_new) - when there is an
error establishing a connection to the remote server, make sure that
GFTP_ERETRYABLE is returned.
author | masneyb |
---|---|
date | Sat, 18 Oct 2003 14:42:17 +0000 |
parents | d211567d1705 |
children | 5f66f09e5194 |
files | ChangeLog lib/rfc959.c |
diffstat | 2 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Oct 13 22:03:24 2003 +0000 +++ b/ChangeLog Sat Oct 18 14:42:17 2003 +0000 @@ -1,3 +1,8 @@ +2003-10-17 Brian Masney <masneyb@gftp.org> + * lib/rfc959.c (rfc959_ipv[46]_data_connection_new) - when there is an + error establishing a connection to the remote server, make sure that + GFTP_ERETRYABLE is returned. + 2003-10-13 Brian Masney <masneyb@gftp.org> * src/gtk/options_dialog.c - when specifying a FTP proxy config in the GTK+ 2.0 port, the last character was getting chopped off. @@ -1558,7 +1563,7 @@ * cvsclean - added this script - * *.[ch] - added $Id: ChangeLog,v 1.149 2003/10/13 22:03:23 masneyb Exp $ tags + * *.[ch] - added $Id: ChangeLog,v 1.150 2003/10/18 14:42:17 masneyb Exp $ tags * debian/* - updated files from Debian maintainer
--- a/lib/rfc959.c Mon Oct 13 22:03:24 2003 +0000 +++ b/lib/rfc959.c Sat Oct 18 14:42:17 2003 +0000 @@ -617,7 +617,7 @@ if ((resp = rfc959_send_command (request, "PASV\r\n")) != '2') { if (request->datafd < 0) - return (resp); + return (GFTP_ERETRYABLE); gftp_set_request_option (request, "passive_transfer", GINT_TO_POINTER(0)); return (rfc959_ipv4_data_connection_new (request)); @@ -773,7 +773,7 @@ if ((resp = rfc959_send_command (request, "EPSV\r\n")) != '2') { if (request->datafd < 0) - return (resp); + return (GFTP_ERETRYABLE); gftp_set_request_option (request, "passive_transfer", GINT_TO_POINTER(0));