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 | 94f2d923fca94acf83e4b67154572147ac102188 (patch) | |
tree | 011ea5a59d8e46b191c9b5618eeda28f32b1a750 | |
parent | e184411c0b468e09c8c15996d1e0ef6d88effd8a (diff) | |
download | c-ares-94f2d923fca94acf83e4b67154572147ac102188.tar.gz c-ares-94f2d923fca94acf83e4b67154572147ac102188.tar.bz2 c-ares-94f2d923fca94acf83e4b67154572147ac102188.zip |
add missing strings for existing error codes
-rw-r--r-- | ares_strerror.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ares_strerror.c b/ares_strerror.c index 67fc4f9..28d2e0b 100644 --- a/ares_strerror.c +++ b/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))); |