Mercurial > gftp.yaz
changeset 624:ddf1ec822538
2004-11-11 Brian Masney <masneyb@gftp.org>
* lib/protocols.c (gftp_connect_server) - if the system does not have
getaddrinfo(), removed erronous g_return_val_if_fail() that was always
causing the function to fail and not connect to the server
(from samn@sun.com)
author | masneyb |
---|---|
date | Thu, 11 Nov 2004 23:53:58 +0000 |
parents | 43a0556c994f |
children | 4c982656195c |
files | ChangeLog lib/protocols.c |
diffstat | 2 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu Nov 11 23:48:05 2004 +0000 +++ b/ChangeLog Thu Nov 11 23:53:58 2004 +0000 @@ -1,4 +1,9 @@ 2004-11-11 Brian Masney <masneyb@gftp.org> + * lib/protocols.c (gftp_connect_server) - if the system does not have + getaddrinfo(), removed erronous g_return_val_if_fail() that was always + causing the function to fail and not connect to the server + (from samn@sun.com) + * configure.in - fixes for HP/UX (from "H.Merijn Brand" <h.m.brand@hccnet.nl>) @@ -3068,7 +3073,7 @@ * cvsclean - added this script - * *.[ch] - added $Id: ChangeLog,v 1.369 2004/11/11 23:48:05 masneyb Exp $ tags + * *.[ch] - added $Id: ChangeLog,v 1.370 2004/11/11 23:53:58 masneyb Exp $ tags * debian/* - updated files from Debian maintainer
--- a/lib/protocols.c Thu Nov 11 23:48:05 2004 +0000 +++ b/lib/protocols.c Thu Nov 11 23:53:58 2004 +0000 @@ -2248,8 +2248,6 @@ else if (request->use_proxy == 1) request->hostp = NULL; - g_return_val_if_fail (sock != -1, GFTP_EFATAL); - request->ai_family = AF_INET; if ((sock = socket (AF_INET, SOCK_STREAM, IPPROTO_TCP)) < 0) {