add missing strings for existing error codes

pull/1/head
Yang Tse 18 years ago
parent e184411c0b
commit 94f2d923fc
  1. 4
      ares_strerror.c

@ -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…
Cancel
Save