Commit 8e203745 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

winsock: getaddrinfo return codes

Adjust return code EAI_NODATA to WSAHOST_NOT_FOUND, like windows does it.
parent b364f812
...@@ -182,7 +182,7 @@ typedef struct _INTERFACE_INFO ...@@ -182,7 +182,7 @@ typedef struct _INTERFACE_INFO
# define EAI_FAIL WSANO_RECOVERY # define EAI_FAIL WSANO_RECOVERY
# define EAI_FAMILY WSAEAFNOSUPPORT # define EAI_FAMILY WSAEAFNOSUPPORT
# define EAI_MEMORY WSA_NOT_ENOUGH_MEMORY # 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_NONAME WSAHOST_NOT_FOUND
# define EAI_SERVICE WSATYPE_NOT_FOUND # define EAI_SERVICE WSATYPE_NOT_FOUND
# define EAI_SOCKTYPE WSAESOCKTNOSUPPORT # define EAI_SOCKTYPE WSAESOCKTNOSUPPORT
...@@ -196,7 +196,7 @@ typedef struct _INTERFACE_INFO ...@@ -196,7 +196,7 @@ typedef struct _INTERFACE_INFO
# define WS_EAI_FAIL WSANO_RECOVERY # define WS_EAI_FAIL WSANO_RECOVERY
# define WS_EAI_FAMILY WSAEAFNOSUPPORT # define WS_EAI_FAMILY WSAEAFNOSUPPORT
# define WS_EAI_MEMORY WSA_NOT_ENOUGH_MEMORY # 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_NONAME WSAHOST_NOT_FOUND
# define WS_EAI_SERVICE WSATYPE_NOT_FOUND # define WS_EAI_SERVICE WSATYPE_NOT_FOUND
# define WS_EAI_SOCKTYPE WSAESOCKTNOSUPPORT # define WS_EAI_SOCKTYPE WSAESOCKTNOSUPPORT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment