diff options
author | Dan Winship <danw@src.gnome.org> | 2008-04-05 17:11:21 +0000 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2008-04-05 17:11:21 +0000 |
commit | 69bac3aac055b260f3ba0590f05a35298fb33908 (patch) | |
tree | 8bf8ad89a89249aef65fe0b204068b6098d2714a | |
parent | b32b17ce04118a7c06ab0cb1d0066cf9cef19e4d (diff) | |
download | libsoup-69bac3aac055b260f3ba0590f05a35298fb33908.tar.gz |
fix test for AI_ADDRCONFIG. Noticed while looking at #526321.
* libsoup/soup-dns.c (resolve_address): fix test for
AI_ADDRCONFIG. Noticed while looking at #526321.
svn path=/trunk/; revision=1125
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | libsoup/soup-dns.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2008-04-05 Dan Winship <danw@gnome.org> + * libsoup/soup-dns.c (resolve_address): fix test for + AI_ADDRCONFIG. Noticed while looking at #526321. + +2008-04-05 Dan Winship <danw@gnome.org> + * libsoup/soup-socket.c (soup_socket_class_init) (soup_socket_write): globally ignore SIGPIPE rather than only doing it around socket write calls, since with SSL even socket diff --git a/libsoup/soup-dns.c b/libsoup/soup-dns.c index de0d4690..f3c77499 100644 --- a/libsoup/soup-dns.c +++ b/libsoup/soup-dns.c @@ -312,7 +312,7 @@ resolve_address (SoupDNSCacheEntry *entry) int retval; memset (&hints, 0, sizeof (struct addrinfo)); -# ifdef HAVE_AI_ADDRCONFIG +# ifdef AI_ADDRCONFIG hints.ai_flags = AI_CANONNAME | AI_ADDRCONFIG; # else hints.ai_flags = AI_CANONNAME; |