diff options
author | ache <ache@FreeBSD.org> | 1995-03-18 17:55:03 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-03-18 17:55:03 +0000 |
commit | c7e454312969dd9561282c4c4e2a63ad0b3599b8 (patch) | |
tree | c93448eb4b458619f908d289b462db866406f3fd /lib | |
parent | 6cd98d0033d179f98d4d563de46ad1be157ef0bb (diff) | |
download | FreeBSD-src-c7e454312969dd9561282c4c4e2a63ad0b3599b8.zip FreeBSD-src-c7e454312969dd9561282c4c4e2a63ad0b3599b8.tar.gz |
Fix authunix_maxgrouplist test
Submitted by: Scott Hazen Mueller <scott@zorch.sf-bay.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/rpc/auth_unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/rpc/auth_unix.c b/lib/libc/rpc/auth_unix.c index 556b441..44df3e4 100644 --- a/lib/libc/rpc/auth_unix.c +++ b/lib/libc/rpc/auth_unix.c @@ -30,7 +30,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)auth_unix.c 1.19 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)auth_unix.c 2.2 88/08/01 4.0 RPCSRC";*/ -static char *rcsid = "$Id: auth_unix.c,v 1.1 1994/08/07 18:35:39 wollman Exp $"; +static char *rcsid = "$Id: auth_unix.c,v 1.2 1994/08/10 02:25:22 wollman Exp $"; #endif /* @@ -149,7 +149,7 @@ authunix_create(machname, uid, gid, len, aup_gids) aup.aup_gid = gid; /* GW: continuation of max group list hack */ if(authunix_maxgrouplist != 0) { - aup.aup_len = ((len > authunix_maxgrouplist) ? len + aup.aup_len = ((len < authunix_maxgrouplist) ? len : authunix_maxgrouplist); } else { aup.aup_len = (u_int)len; |