add missing strings for existing error codes

This commit is contained in:
Yang Tse
2007-02-02 16:01:15 +00:00
parent e184411c0b
commit 94f2d923fc
+3 -1
View File
@@ -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)));