summaryrefslogtreecommitdiff
path: root/sysutils/gnome-vfs2/patches/patch-ah
blob: 11d99bb004ca5d65eef953394a803190a538ba12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ah,v 1.7 2006/03/30 21:07:48 jmmv Exp $

http://bugzilla.gnome.org/show_bug.cgi?id=336391

--- libgnomevfs/gnome-vfs-resolve.c.orig	2005-12-02 19:00:26.000000000 +0100
+++ libgnomevfs/gnome-vfs-resolve.c
@@ -172,7 +172,7 @@ _gnome_vfs_result_from_gai_error (int er
 			 
 	   case EAI_NONAME: return GNOME_VFS_ERROR_HOST_NOT_FOUND;
 #ifdef EAI_ADDRFAMILY
-	   case EAI_ADDRFAMILY:		
+	   case EAI_ADDRFAMILY: return GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS;
 #endif
 #ifdef EAI_NODATA
 	   case EAI_NODATA: return GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS;