summaryrefslogtreecommitdiff
path: root/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
commitb53526b1a90e39051498285f3fbf468a7cd8a414 (patch)
treed217117523b1e397a78b91f1eccfa0170fc023bb /ares_strerror.c
parente199ec677f849d3afad1001346e2d49779b11274 (diff)
downloadc-ares-b53526b1a90e39051498285f3fbf468a7cd8a414.tar.gz
c-ares-b53526b1a90e39051498285f3fbf468a7cd8a414.tar.bz2
c-ares-b53526b1a90e39051498285f3fbf468a7cd8a414.zip
John Engelhart noticed an unreleased problem relative to a duplicate
ARES_ECANCELLED error code value and missing error code description.
Diffstat (limited to 'ares_strerror.c')
-rw-r--r--ares_strerror.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ares_strerror.c b/ares_strerror.c
index 597ec64..1265cee 100644
--- a/ares_strerror.c
+++ b/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)))