1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-11-23 20:32:47 +00:00

Fix compiler warning and compatibility issue with the type of the parameter used in getnameinfo() to receive the length of the sockaddr struct.

This commit is contained in:
Yang Tse
2005-12-11 12:03:01 +00:00
parent 6681cc24e9
commit b4e6ca49d8
2 changed files with 2 additions and 2 deletions

2
ares.h
View File

@ -172,7 +172,7 @@ void ares_gethostbyname(ares_channel channel, const char *name, int family,
void ares_gethostbyaddr(ares_channel channel, const void *addr, int addrlen,
int family, ares_host_callback callback, void *arg);
void ares_getnameinfo(ares_channel channel, const struct sockaddr *sa,
socklen_t salen, int flags, ares_nameinfo_callback callback,
size_t salen, int flags, ares_nameinfo_callback callback,
void *arg);
int ares_fds(ares_channel channel, fd_set *read_fds, fd_set *write_fds);
struct timeval *ares_timeout(ares_channel channel, struct timeval *maxtv,