Fix authunix_maxgrouplist test

Submitted by: Scott Hazen Mueller <scott@zorch.sf-bay.org>
This commit is contained in:
Andrey A. Chernov 1995-03-18 17:55:03 +00:00
parent cb850faba6
commit 798563cdfb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7144

View File

@ -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;