aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_strerror.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-10-23 15:49:05 +0000
committerYang Tse <yangsita@gmail.com>2009-10-23 15:49:05 +0000
commita1cc78d5a1c300284811ab8fb2ec5673fcf5e04d (patch)
tree50ec4f51c8ac1315f7ae0c563be74318961c9ba8 /ares/ares_strerror.c
parent7531ac89d6209417a86a841d0002b1e177996cb2 (diff)
John Engelhart noticed an unreleased problem relative to a duplicate
ARES_ECANCELLED error code value and missing error code description.
Diffstat (limited to 'ares/ares_strerror.c')
-rw-r--r--ares/ares_strerror.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ares/ares_strerror.c b/ares/ares_strerror.c
index 597ec64b6..1265cee09 100644
--- a/ares/ares_strerror.c
+++ b/ares/ares_strerror.c
@@ -46,7 +46,8 @@ const char *ares_strerror(int code)
"Illegal hints flags specified",
"c-ares library initialization not yet performed",
"Error loading iphlpapi.dll",
- "Could not find GetNetworkParams function"
+ "Could not find GetNetworkParams function",
+ "DNS query cancelled"
};
if(code >= 0 && code < (int)(sizeof(errtext) / sizeof(*errtext)))