Mercurial > pidgin
diff src/proxy.c @ 7475:08ce2a94d9c7
[gaim-migrate @ 8088]
I made Gaim compile with -ansi in my CFLAGS... I don't really know why.
I had to set HAVE_GETADDRINFO and HAVE_SIGNAL_H to 0
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Tue, 11 Nov 2003 07:08:13 +0000 |
| parents | db6bd3e794d8 |
| children | ac6b2b3a9a1f |
line wrap: on
line diff
--- a/src/proxy.c Tue Nov 11 05:57:24 2003 +0000 +++ b/src/proxy.c Tue Nov 11 07:08:13 2003 +0000 @@ -384,7 +384,7 @@ if((rc==4) && (err!=0)) { char message[1024]; g_snprintf(message, sizeof(message), "DNS error: %s (pid=%d)", -#ifdef HAVE_GETADDRINFO +#if HAVE_GETADDRINFO gai_strerror(err), #else hstrerror(err), @@ -535,7 +535,7 @@ const int zero = 0; int rc; -#ifdef HAVE_GETADDRINFO +#if HAVE_GETADDRINFO struct addrinfo hints, *res, *tmp; char servname[20]; #else @@ -585,7 +585,7 @@ write(child_out[1], &Y, 1); } -#ifdef HAVE_GETADDRINFO +#if HAVE_GETADDRINFO g_snprintf(servname, sizeof(servname), "%d", dns_params.port); memset(&hints,0,sizeof(hints));
