svn commit: r194397 - projects/ngroups/sys/rpc

Brooks Davis brooks at FreeBSD.org
Wed Jun 17 20:30:52 UTC 2009


Author: brooks
Date: Wed Jun 17 20:30:51 2009
New Revision: 194397
URL: http://svn.freebsd.org/changeset/base/194397

Log:
  Set cr_groups[0] instead of cr_gid here.  They are the same and we use
  cr_groups[0] almost exclusivly.

Modified:
  projects/ngroups/sys/rpc/authunix_prot.c

Modified: projects/ngroups/sys/rpc/authunix_prot.c
==============================================================================
--- projects/ngroups/sys/rpc/authunix_prot.c	Wed Jun 17 20:29:56 2009	(r194396)
+++ projects/ngroups/sys/rpc/authunix_prot.c	Wed Jun 17 20:30:51 2009	(r194397)
@@ -98,7 +98,7 @@ xdr_authunix_parms(XDR *xdrs, uint32_t *
 
 	if (!xdr_uint32_t(xdrs, &cred->cr_uid))
 		return (FALSE);
-	if (!xdr_uint32_t(xdrs, &cred->cr_gid))
+	if (!xdr_uint32_t(xdrs, &cred->cr_groups[0]))
 		return (FALSE);
 
 	if (xdrs->x_op == XDR_ENCODE) {


More information about the svn-src-projects mailing list