Merge ac59bcbeac
into 1bb586d655
This commit is contained in:
commit
7be26115bb
1 changed files with 2 additions and 2 deletions
|
@ -439,12 +439,12 @@ const char *socket_gaistrerror(int err) {
|
||||||
case EAI_FAMILY: return "ai_family not supported";
|
case EAI_FAMILY: return "ai_family not supported";
|
||||||
case EAI_MEMORY: return "memory allocation failure";
|
case EAI_MEMORY: return "memory allocation failure";
|
||||||
case EAI_NONAME:
|
case EAI_NONAME:
|
||||||
return "hostname or servname not provided, or not known";
|
return "host or service not provided, or not known";
|
||||||
case EAI_OVERFLOW: return "argument buffer overflow";
|
case EAI_OVERFLOW: return "argument buffer overflow";
|
||||||
#ifdef EAI_PROTOCOL
|
#ifdef EAI_PROTOCOL
|
||||||
case EAI_PROTOCOL: return "resolved protocol is unknown";
|
case EAI_PROTOCOL: return "resolved protocol is unknown";
|
||||||
#endif
|
#endif
|
||||||
case EAI_SERVICE: return "servname not supported for socktype";
|
case EAI_SERVICE: return "service not supported for socket type";
|
||||||
case EAI_SOCKTYPE: return "ai_socktype not supported";
|
case EAI_SOCKTYPE: return "ai_socktype not supported";
|
||||||
case EAI_SYSTEM: return strerror(errno);
|
case EAI_SYSTEM: return strerror(errno);
|
||||||
default: return "unknown error";
|
default: return "unknown error";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue