1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-10-06 10:52:20 +00:00

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!
This commit is contained in:
Daniel Stenberg
2004-02-02 15:59:12 +00:00
parent d323492eb8
commit 3ac93aa3c5
2 changed files with 3 additions and 7 deletions

2
ares.h
View File

@ -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 */