summaryrefslogtreecommitdiff
path: root/ares_getnameinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'ares_getnameinfo.c')
-rw-r--r--ares_getnameinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ares_getnameinfo.c b/ares_getnameinfo.c
index c75e944..38f5599 100644
--- a/ares_getnameinfo.c
+++ b/ares_getnameinfo.c
@@ -92,7 +92,8 @@ static void append_scopeid(struct sockaddr_in6 *addr6, unsigned int scopeid,
#endif
static char *ares_striendstr(const char *s1, const char *s2);
-void ares_getnameinfo(ares_channel channel, const struct sockaddr *sa, socklen_t salen,
+void ares_getnameinfo(ares_channel channel, const struct sockaddr *sa,
+ ares_socklen_t salen,
int flags, ares_nameinfo_callback callback, void *arg)
{
struct sockaddr_in *addr = NULL;