From 8260243be1d2bdfc8ab960c24618430f8c45076c Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 2 Feb 2007 16:01:15 +0000 Subject: [PATCH] add missing strings for existing error codes --- ares/ares_strerror.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)));