# HG changeset patch # User Mark Doliner # Date 1101437414 0 # Node ID 36b7335d3452b17b8a9d39711fa85ce2218ccdeb # Parent 1668fcab5968ab50e6cef721340263956d635374 [gaim-migrate @ 11410] On August 30th Laurent Rineau sent a patch to gaim-devel that makes this change. It should allow proxy.c to compile on systems where HAVE_GETADDRINFO is undefined. I haven't tested it, but it looked ok to me. I don't think "hostname" is a valid variable there. committer: Tailor Script diff -r 1668fcab5968 -r 36b7335d3452 src/proxy.c --- a/src/proxy.c Thu Nov 25 22:03:58 2004 +0000 +++ b/src/proxy.c Fri Nov 26 02:50:14 2004 +0000 @@ -501,7 +501,7 @@ freeaddrinfo(tmp); write(child_out, &zero, sizeof(zero)); #else - if (!inet_aton(hostname, &sin.sin_addr)) { + if (!inet_aton(dns_params->hostname, &sin.sin_addr)) { struct hostent *hp; if (!(hp = gethostbyname(dns_params->hostname))) { write(child_out, &h_errno, sizeof(int));