Handle EAI_NODATA==EAI_NONAME in win32 SDK

This commit is contained in:
Hans Breuer 2009-05-30 15:18:02 +02:00
parent cbca0ac5d9
commit 73dbe591fb

View File

@ -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;