winsock: getaddrinfo return codes

Adjust return code EAI_NODATA to WSAHOST_NOT_FOUND, like windows does
it.
This commit is contained in:
Marcus Meissner 2005-12-12 11:55:33 +01:00 committed by Alexandre Julliard
parent b364f81218
commit 8e203745f4
1 changed files with 2 additions and 2 deletions

View File

@ -182,7 +182,7 @@ typedef struct _INTERFACE_INFO
# define EAI_FAIL WSANO_RECOVERY
# define EAI_FAMILY WSAEAFNOSUPPORT
# define EAI_MEMORY WSA_NOT_ENOUGH_MEMORY
# define EAI_NODATA WSANO_DATA
# define EAI_NODATA EAI_NONAME
# define EAI_NONAME WSAHOST_NOT_FOUND
# define EAI_SERVICE WSATYPE_NOT_FOUND
# define EAI_SOCKTYPE WSAESOCKTNOSUPPORT
@ -196,7 +196,7 @@ typedef struct _INTERFACE_INFO
# define WS_EAI_FAIL WSANO_RECOVERY
# define WS_EAI_FAMILY WSAEAFNOSUPPORT
# define WS_EAI_MEMORY WSA_NOT_ENOUGH_MEMORY
# define WS_EAI_NODATA WSANO_DATA
# define WS_EAI_NODATA WS_EAI_NONAME
# define WS_EAI_NONAME WSAHOST_NOT_FOUND
# define WS_EAI_SERVICE WSATYPE_NOT_FOUND
# define WS_EAI_SOCKTYPE WSAESOCKTNOSUPPORT