Fix the build on FreeBSD by replacing EAI_NODATA with EAI_NONAME.

https://bugzilla.gnome.org/show_bug.cgi?id=724434
This commit is contained in:
Koop Mast 2014-02-15 19:54:21 +01:00 committed by Dan Winship
parent 7cbff954b9
commit 9c135707cb

View 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;
}