mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
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:
parent
7cbff954b9
commit
9c135707cb
@ -314,7 +314,7 @@ handle_ip_address (const char *hostname,
|
|||||||
{
|
{
|
||||||
g_set_error (error, G_RESOLVER_ERROR, G_RESOLVER_ERROR_NOT_FOUND,
|
g_set_error (error, G_RESOLVER_ERROR, G_RESOLVER_ERROR_NOT_FOUND,
|
||||||
_("Error resolving '%s': %s"),
|
_("Error resolving '%s': %s"),
|
||||||
hostname, gai_strerror (EAI_NODATA));
|
hostname, gai_strerror (EAI_NONAME));
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user