John Engelhart noticed an unreleased problem relative to a duplicate

ARES_ECANCELLED error code value and missing error code description.
This commit is contained in:
Yang Tse
2009-10-23 15:49:05 +00:00
parent e199ec677f
commit b53526b1a9
4 changed files with 13 additions and 6 deletions
+2 -1
View File
@@ -46,7 +46,8 @@ const char *ares_strerror(int code)
"Illegal hints flags specified",
"c-ares library initialization not yet performed",
"Error loading iphlpapi.dll",
"Could not find GetNetworkParams function"
"Could not find GetNetworkParams function",
"DNS query cancelled"
};
if(code >= 0 && code < (int)(sizeof(errtext) / sizeof(*errtext)))