1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/dns/idnkit/files/patch-tools::runidn::resolver.c
Hajimu UMEMOTO b583668228 Make it buildable on RELENG_6 after correction of the 2nd argument
of gethostbyaddr(3).

Reported by:	pointyhat via kris
2006-09-03 12:31:09 +00:00

14 lines
557 B
C

Index: tools/runidn/resolver.c
diff -u -p tools/runidn/resolver.c.orig tools/runidn/resolver.c
--- tools/runidn/resolver.c.orig Fri Nov 29 23:26:57 2002
+++ tools/runidn/resolver.c Sun Sep 3 21:20:21 2006
@@ -726,7 +726,7 @@ ENTRY(gethostbyname2_r)(const char *name
#ifdef HAVE_GETHOSTBYADDR_R
int
-ENTRY(gethostbyaddr_r)(GHBA_ADDR_T addr, GHBA_ADDRLEN_T len, int type,
+ENTRY(gethostbyaddr_r)(GHBA_ADDR_T addr, socklen_t len, int type,
struct hostent *result,
char *buffer, size_t buflen,
struct hostent **rp, int *errp)