diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-12-01 12:41:01 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-12-01 12:41:01 +0800 |
commit | b50ccfc1d4bab8bdc998f0bcadae66b73a1603a8 (patch) | |
tree | 7b22e54779567e6edd3f67d998c99821aa976f3f /util | |
parent | 9e5acf2b2b13eea84df06c2e3dad581f18eaca20 (diff) | |
download | pttbbs-b50ccfc1d4bab8bdc998f0bcadae66b73a1603a8.tar pttbbs-b50ccfc1d4bab8bdc998f0bcadae66b73a1603a8.tar.gz pttbbs-b50ccfc1d4bab8bdc998f0bcadae66b73a1603a8.tar.bz2 pttbbs-b50ccfc1d4bab8bdc998f0bcadae66b73a1603a8.tar.lz pttbbs-b50ccfc1d4bab8bdc998f0bcadae66b73a1603a8.tar.xz pttbbs-b50ccfc1d4bab8bdc998f0bcadae66b73a1603a8.tar.zst pttbbs-b50ccfc1d4bab8bdc998f0bcadae66b73a1603a8.zip |
fix assess, it may be rewriten
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1385 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r-- | util/shmctl.c | 2 |
1 files changed, 0 insertions, 2 deletions
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], |