aboutsummaryrefslogtreecommitdiff
path: root/ares/ares.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-08-03 11:51:06 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-08-03 11:51:06 +0000
commit0606b792f04801b149d54e9c554b4f5c62ee8cad (patch)
treec4b1df9ba3bd2b5b47323e4e6567d4a20ce50767 /ares/ares.h
parenta53525e930d7fd499e49a63f704f96e3686ee922 (diff)
- Timo Teras changed the reason code used in the resolve callback done when
ares_cancel() is used, to be ARES_ECANCELLED instead of ARES_ETIMEOUT to better allow the callback to know what's happening.
Diffstat (limited to 'ares/ares.h')
-rw-r--r--ares/ares.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ares/ares.h b/ares/ares.h
index 386c0caea..f64e862b4 100644
--- a/ares/ares.h
+++ b/ares/ares.h
@@ -86,6 +86,7 @@ extern "C" {
#define ARES_ENOMEM 15
#define ARES_EDESTRUCTION 16
#define ARES_EBADSTR 17
+#define ARES_ECANCELLED 21
/* ares_getnameinfo error codes */
#define ARES_EBADFLAGS 18