From 94f2d923fca94acf83e4b67154572147ac102188 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_strerror.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ares_strerror.c b/ares_strerror.c index 67fc4f99..28d2e0bf 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)));