mirror of
https://github.com/curl/curl.git
synced 2026-07-23 01:27:16 +03:00
add missing strings for existing error codes
This commit is contained in:
parent
ef6f24a7ce
commit
8260243be1
1 changed files with 3 additions and 1 deletions
|
|
@ -41,7 +41,9 @@ const char *ares_strerror(int code)
|
|||
"Out of memory",
|
||||
"Channel is being destroyed",
|
||||
"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)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue