From b50ccfc1d4bab8bdc998f0bcadae66b73a1603a8 Mon Sep 17 00:00:00 2001 From: victor Date: Mon, 1 Dec 2003 04:41:01 +0000 Subject: fix assess, it may be rewriten git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1385 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- util/shmctl.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'util') diff --git a/util/shmctl.c b/util/shmctl.c index 357b24a1..74cf3e12 100644 --- a/util/shmctl.c +++ b/util/shmctl.c @@ -231,8 +231,6 @@ inline void utmpsort(int sortall) } SHM->UTMPnumber = count; qsort(SHM->sorted[ns][0], count, sizeof(userinfo_t *), cmputmpuserid); - for (i = 0; i < count; ++i) - ((userinfo_t *) SHM->sorted[ns][0][i])->idoffset = i; memcpy(SHM->sorted[ns][6], SHM->sorted[ns][0], sizeof(userinfo_t *) * count); memcpy(SHM->sorted[ns][7], -- cgit v1.2.3