mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 13:06:14 +01:00
Handle EAI_NODATA==EAI_NONAME in win32 SDK
This commit is contained in:
parent
cbca0ac5d9
commit
73dbe591fb
@ -636,7 +636,9 @@ g_resolver_error_from_addrinfo_error (gint err)
|
||||
switch (err)
|
||||
{
|
||||
case EAI_FAIL:
|
||||
#ifndef G_OS_WIN32 /* defined as NONAME claiming it is removed from rfc2553bis */
|
||||
case EAI_NODATA:
|
||||
#endif
|
||||
case EAI_NONAME:
|
||||
return G_RESOLVER_ERROR_NOT_FOUND;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user