summaryrefslogtreecommitdiffstats
path: root/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c')
-rw-r--r--devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c b/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c
index 2a5088a69..c58be91fa 100644
--- a/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c
+++ b/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c
@@ -1,13 +1,13 @@
---- libgnomevfs/gnome-vfs-resolve.c.orig Tue Jul 20 14:39:26 2004
-+++ libgnomevfs/gnome-vfs-resolve.c Thu Jul 22 16:38:35 2004
-@@ -133,8 +133,10 @@
- switch (error) {
-
- case EAI_NONAME: return GNOME_VFS_ERROR_HOST_NOT_FOUND;
+--- libgnomevfs/gnome-vfs-resolve.c.orig Sat Jul 31 17:52:23 2004
++++ libgnomevfs/gnome-vfs-resolve.c Sat Jul 31 17:52:45 2004
+@@ -171,8 +171,10 @@
+ switch (error) {
+
+ case EAI_NONAME: return GNOME_VFS_ERROR_HOST_NOT_FOUND;
+#if defined(EAI_ADDRFAMILY) && defined(EAI_NODATA)
- case EAI_ADDRFAMILY:
- case EAI_NODATA: return GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS;
+ case EAI_ADDRFAMILY:
+ case EAI_NODATA: return GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS;
+#endif
- case EAI_SYSTEM: return gnome_vfs_result_from_errno ();
- case EAI_FAIL:
- case EAI_AGAIN: return GNOME_VFS_ERROR_NAMESERVER;
+ case EAI_SYSTEM: return gnome_vfs_result_from_errno ();
+ case EAI_FAIL:
+ case EAI_AGAIN: return GNOME_VFS_ERROR_NAMESERVER;