Fix the build on FreeBSD by replacing EAI_NODATA with EAI_NONAME.
authorKoop Mast <kwm@rainbow-runner.nl>
Sat, 15 Feb 2014 18:54:21 +0000 (19:54 +0100)
committerDan Winship <danw@gnome.org>
Sat, 15 Feb 2014 23:35:57 +0000 (18:35 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=724434

gio/gresolver.c

index 1da8425..730ac1b 100644 (file)
@@ -314,7 +314,7 @@ handle_ip_address (const char  *hostname,
     {
       g_set_error (error, G_RESOLVER_ERROR, G_RESOLVER_ERROR_NOT_FOUND,
                    _("Error resolving '%s': %s"),
-                   hostname, gai_strerror (EAI_NODATA));
+                   hostname, gai_strerror (EAI_NONAME));
       return TRUE;
     }