aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-vfs/fix-resolv-no-address.patch
blob: 17fec7e32e1bd6e1966ccd7e37876ad4cc11c493 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-result.c.orig
+++ gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-result.c
@@ -199,7 +199,7 @@
 {
 	switch (h_errno_code) {
 	case HOST_NOT_FOUND:	return GNOME_VFS_ERROR_HOST_NOT_FOUND;
-	case NO_ADDRESS:	return GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS;
+	case NO_DATA:		return GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS;
 	case TRY_AGAIN:		return GNOME_VFS_ERROR_NAMESERVER;
 	case NO_RECOVERY:	return GNOME_VFS_ERROR_NAMESERVER;
 	default: