diff options
author | Yang Tse <yangsita@gmail.com> | 2007-02-02 16:01:15 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-02-02 16:01:15 +0000 |
commit | 8260243be1d2bdfc8ab960c24618430f8c45076c (patch) | |
tree | 82b6741cb7ac27bcb87d14b0a19c08392b25c80a | |
parent | ef6f24a7ce99674262ee51e6cba2fcf798dd19f2 (diff) |
add missing strings for existing error codes
-rw-r--r-- | ares/ares_strerror.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ares/ares_strerror.c b/ares/ares_strerror.c index 67fc4f999..28d2e0bf1 100644 --- a/ares/ares_strerror.c +++ b/ares/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))); |