diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-08-03 11:51:06 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-08-03 11:51:06 +0000 |
commit | 0606b792f04801b149d54e9c554b4f5c62ee8cad (patch) | |
tree | c4b1df9ba3bd2b5b47323e4e6567d4a20ce50767 /ares/ares.h | |
parent | a53525e930d7fd499e49a63f704f96e3686ee922 (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.h | 1 |
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 |