inet_ntop.c: s/socklen_t/ares_socklen_t
This commit is contained in:
parent
b82874ad6f
commit
9ed49f3e17
|
@ -195,11 +195,14 @@ inet_ntop6(const unsigned char *src, char *dst, size_t size)
|
||||||
strcpy(dst, tmp);
|
strcpy(dst, tmp);
|
||||||
return (dst);
|
return (dst);
|
||||||
}
|
}
|
||||||
|
|
||||||
#else /* HAVE_INET_NTOP */
|
#else /* HAVE_INET_NTOP */
|
||||||
|
|
||||||
const char *ares_inet_ntop(int af, const void *src, char *dst, socklen_t size)
|
const char *
|
||||||
|
ares_inet_ntop(int af, const void *src, char *dst, ares_socklen_t size)
|
||||||
{
|
{
|
||||||
/* just relay this to the underlying function */
|
/* just relay this to the underlying function */
|
||||||
return inet_ntop(af, src, dst, size);
|
return inet_ntop(af, src, dst, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* HAVE_INET_NTOP */
|
#endif /* HAVE_INET_NTOP */
|
||||||
|
|
Loading…
Reference in New Issue