diff options
author | Yang Tse <yangsita@gmail.com> | 2009-10-23 15:49:05 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-10-23 15:49:05 +0000 |
commit | a1cc78d5a1c300284811ab8fb2ec5673fcf5e04d (patch) | |
tree | 50ec4f51c8ac1315f7ae0c563be74318961c9ba8 /ares/ares.h | |
parent | 7531ac89d6209417a86a841d0002b1e177996cb2 (diff) | |
download | curl-a1cc78d5a1c300284811ab8fb2ec5673fcf5e04d.tar.gz |
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.h')
-rw-r--r-- | ares/ares.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ares/ares.h b/ares/ares.h index ad7c4d57a..d7c0ad293 100644 --- a/ares/ares.h +++ b/ares/ares.h @@ -86,7 +86,6 @@ 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 @@ -96,11 +95,14 @@ extern "C" { #define ARES_EBADHINTS 20 /* Uninitialized library error code */ -#define ARES_ENOTINITIALIZED 21 +#define ARES_ENOTINITIALIZED 21 /* introduced in 1.6.1 */ /* ares_library_init error codes */ -#define ARES_ELOADIPHLPAPI 22 -#define ARES_EADDRGETNETWORKPARAMS 23 +#define ARES_ELOADIPHLPAPI 22 /* introduced in 1.6.1 */ +#define ARES_EADDRGETNETWORKPARAMS 23 /* introduced in 1.6.1 */ + +/* More error codes */ +#define ARES_ECANCELLED 24 /* introduced in 1.6.1 */ /* Flag values */ #define ARES_FLAG_USEVC (1 << 0) |