Displaying 1 result from an estimated 1 matches for "181c181".
Did you mean:
181181
2004 Aug 06
1
IceCast 1.3.11: Segmentation Violation in Linux
...ice_resolv.c. Apparently, youre expecting an extra parameter in
gethostbyname_r and gethostbyaddr_r. Diffs follow:
170c170
< if (gethostbyname_r (hostname, res, buffer, buflen, error) >= 0)
---
> if (gethostbyname_r (hostname, res, buffer, buflen, &res, error)
>= 0)
181c181
< if ((out = gethostbyaddr_r (host, hostlen, AF_INET, he, buffer,
buflen,
error) >= 0))
---
> if ((out = gethostbyaddr_r (host, hostlen, AF_INET, he, buffer,
buflen,
&he, error) >= 0))
If I recall correctly, the linux man pages for gethostbyname were so
useless I had to...