Date: Wed, 9 Aug 2006 17:29:14 GMT From: Michael Bushkov <bushman@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 103516 for review Message-ID: <200608091729.k79HTETh081214@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=103516 Change 103516 by bushman@bushman_nss_ldap_cached on 2006/08/09 17:29:08 Byte order conversion should have been used here. Affected files ... .. //depot/projects/soc2006/nss_ldap_cached/src/lib/nss_ldap/ldap_serv.c#7 edit Differences ... ==== //depot/projects/soc2006/nss_ldap_cached/src/lib/nss_ldap/ldap_serv.c#7 (text+ko) ==== @@ -181,6 +181,8 @@ rv = __nss_ldap_assign_attr_int(sctx, _AT(schema, ipServicePort), &serv->s_port); + if (rv == NSS_LDAP_SUCCESS) + serv->s_port = ntohs(serv->s_port); errfin: return (rv);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608091729.k79HTETh081214>