Mercurial > pidgin.yaz
changeset 10264:36b7335d3452
[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 <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 26 Nov 2004 02:50:14 +0000 |
parents | 1668fcab5968 |
children | d24de0d2aabd |
files | src/proxy.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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));