Date: Fri, 21 Apr 2006 12:27:03 GMT From: soc-bushman <soc-bushman@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 95795 for review Message-ID: <200604211227.k3LCR3DO076748@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95795 Change 95795 by soc-bushman@soc-bushman_stinger on 2006/04/21 12:26:05 return value bug fixed in gethostnamadr.c + getaddrinfo.c style fix Affected files ... .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/net/getaddrinfo.c#12 edit .. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/net/gethostnamadr.c#10 edit Differences ... ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/net/getaddrinfo.c#12 (text+ko) ==== @@ -1604,7 +1604,7 @@ static int addrinfo_marshal_func(char *buffer, size_t *buffer_size, void *retval, - va_list ap, void *cache_mdata) + va_list ap, void *cache_mdata) { struct addrinfo *ai, *cai; char *p; ==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/net/gethostnamadr.c#10 (text+ko) ==== @@ -420,6 +420,8 @@ for (iter = ht->h_addr_list; *iter; ++iter) NS_APPLY_OFFSET(*iter, orig_buf, p, char *); } + + *((struct hostent **)retval) = ht; return (NS_SUCCESS); } #endif /* NS_CACHING */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604211227.k3LCR3DO076748>