libsoup r1140 - in trunk: . libsoup



Author: tml
Date: Tue Apr 29 06:32:19 2008
New Revision: 1140
URL: http://svn.gnome.org/viewvc/libsoup?rev=1140&view=rev

Log:
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.



Modified:
   trunk/ChangeLog
   trunk/libsoup/soup-dns.c

Modified: trunk/libsoup/soup-dns.c
==============================================================================
--- trunk/libsoup/soup-dns.c	(original)
+++ trunk/libsoup/soup-dns.c	Tue Apr 29 06:32:19 2008
@@ -321,7 +321,7 @@
 	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 */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]