diff options
author | Tor Lillqvist <tml@novell.com> | 2008-04-29 06:32:19 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2008-04-29 06:32:19 +0000 |
commit | 8f5f2eb29113e22e8b763793bdf14a538a198264 (patch) | |
tree | a2b6c925d89920adbf90aa43e8399c73435bc811 | |
parent | 6672b2b40685ed2230f4994cae726be3d5d9e5c1 (diff) | |
download | libsoup-8f5f2eb29113e22e8b763793bdf14a538a198264.tar.gz |
Fix compilation error in the !HAVE_IPV6 && !HAVE_INET_PTON &&
2008-04-29 Tor Lillqvist <tml@novell.com>
* libsoup/soup-dns.c (soup_dns_is_ip_address): Fix compilation
error in the !HAVE_IPV6 && !HAVE_INET_PTON && !HAVE_INET_ATON
case.
svn path=/trunk/; revision=1140
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | libsoup/soup-dns.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2008-04-29 Tor Lillqvist <tml@novell.com> + + * libsoup/soup-dns.c (soup_dns_is_ip_address): Fix compilation + error in the !HAVE_IPV6 && !HAVE_INET_PTON && !HAVE_INET_ATON + case. + 2008-04-21 Dan Winship <danw@gnome.org> * configure.in: 2.23.1, bump AGE and CURRENT diff --git a/libsoup/soup-dns.c b/libsoup/soup-dns.c index 94c76e71..204c2f2a 100644 --- a/libsoup/soup-dns.c +++ b/libsoup/soup-dns.c @@ -321,7 +321,7 @@ soup_dns_is_ip_address (const char *name) if (inet_aton (name, &sin.sin_addr) != 0) return TRUE; #else - if (inet_addr (entry->entry_name) != INADDR_NONE) + if (inet_addr (name) != INADDR_NONE) return TRUE; #endif #endif /* HAVE_IPV6 */ |