From 798563cdfb29d05b2e10bb49ab593d03a7ba252b Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sat, 18 Mar 1995 17:55:03 +0000 Subject: [PATCH] Fix authunix_maxgrouplist test Submitted by: Scott Hazen Mueller --- lib/libc/rpc/auth_unix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/rpc/auth_unix.c b/lib/libc/rpc/auth_unix.c index 556b4419af9f..44df3e44b921 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;