]> granicus.if.org Git - curl/commitdiff
add missing strings for existing error codes
authorYang Tse <yangsita@gmail.com>
Fri, 2 Feb 2007 16:01:15 +0000 (16:01 +0000)
committerYang Tse <yangsita@gmail.com>
Fri, 2 Feb 2007 16:01:15 +0000 (16:01 +0000)
ares/ares_strerror.c

index 67fc4f99976df4511500f11bad4518364d3b29aa..28d2e0bf1665dcd68ef82a826ff51299c93bff4f 100644 (file)
@@ -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)));