changeset 15186:5e7764d15345

[gaim-migrate @ 17974] trime noticed that dns lookups don't work if you don't HAVE_GETADDRINFO; he? also submitted a patch to fix the bug. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Tue, 12 Dec 2006 16:20:43 +0000
parents a505577b6f4b
children ce2212022a6b
files libgaim/dnsquery.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libgaim/dnsquery.c	Tue Dec 12 08:53:35 2006 +0000
+++ b/libgaim/dnsquery.c	Tue Dec 12 16:20:43 2006 +0000
@@ -252,6 +252,7 @@
 			sin.sin_family = AF_INET;
 
 		sin.sin_port = htons(dns_params.port);
+		write(child_out, &zero, sizeof(zero));
 		write(child_out, &addrlen, sizeof(addrlen));
 		write(child_out, &sin, addrlen);
 		write(child_out, &zero, sizeof(zero));