diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-02 15:59:12 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-02 15:59:12 +0000 |
commit | aa93e2e638933b06c2464b43a6dcd08c108afeb8 (patch) | |
tree | 535ab5d45946181cb920e1a5da1190e6313ef3c0 /ares/ares.h | |
parent | e1d541086c457eb22ac130fcbaad26014e069d23 (diff) |
removed the silly second argument to ares_strerror()
This breaks the API and ABI with the existing ares library. We hereby require
the upcoming c-ares 1.0 for asynch name resolves!
Diffstat (limited to 'ares/ares.h')
-rw-r--r-- | ares/ares.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/ares.h b/ares/ares.h index e00d88b3d..c1b10d061 100644 --- a/ares/ares.h +++ b/ares/ares.h @@ -124,7 +124,7 @@ int ares_parse_ptr_reply(const unsigned char *abuf, int alen, const void *addr, int addrlen, int family, struct hostent **host); void ares_free_string(char *str); void ares_free_hostent(struct hostent *host); -const char *ares_strerror(int code, char **memptr); +const char *ares_strerror(int code); void ares_free_errmem(char *mem); #endif /* ARES__H */ |