# HG changeset patch # User masneyb # Date 1100217238 0 # Node ID ddf1ec822538b2525c33b34fd9b378dcd412cd03 # Parent 43a0556c994f5c322d0523497837f3028ca0e13f 2004-11-11 Brian Masney * 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) diff -r 43a0556c994f -r ddf1ec822538 ChangeLog --- 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 + * 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" ) @@ -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 diff -r 43a0556c994f -r ddf1ec822538 lib/protocols.c --- 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) {