add missing strings for existing error codes
This commit is contained in:
parent
ef6f24a7ce
commit
8260243be1
@ -41,7 +41,9 @@ const char *ares_strerror(int code)
|
|||||||
"Out of memory",
|
"Out of memory",
|
||||||
"Channel is being destroyed",
|
"Channel is being destroyed",
|
||||||
"Misformatted string",
|
"Misformatted string",
|
||||||
"Illegal flags specified"
|
"Illegal flags specified",
|
||||||
|
"Given hostname is not numeric",
|
||||||
|
"Illegal hints flags specified"
|
||||||
};
|
};
|
||||||
|
|
||||||
assert(code >= 0 && code < (int)(sizeof(errtext) / sizeof(*errtext)));
|
assert(code >= 0 && code < (int)(sizeof(errtext) / sizeof(*errtext)));
|
||||||
|
Loading…
Reference in New Issue
Block a user