diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-07-05 18:59:29 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-07-05 18:59:29 +0800 |
commit | 4b6c46542ff1ef1a068a8ae33c07165a3d27df5d (patch) | |
tree | c9242519492d9e8de71305524c4003e5abdc4281 | |
parent | 34acfcb0f815e17b323dea2ceb255372928778f8 (diff) | |
download | pttbbs-4b6c46542ff1ef1a068a8ae33c07165a3d27df5d.tar pttbbs-4b6c46542ff1ef1a068a8ae33c07165a3d27df5d.tar.gz pttbbs-4b6c46542ff1ef1a068a8ae33c07165a3d27df5d.tar.bz2 pttbbs-4b6c46542ff1ef1a068a8ae33c07165a3d27df5d.tar.lz pttbbs-4b6c46542ff1ef1a068a8ae33c07165a3d27df5d.tar.xz pttbbs-4b6c46542ff1ef1a068a8ae33c07165a3d27df5d.tar.zst pttbbs-4b6c46542ff1ef1a068a8ae33c07165a3d27df5d.zip |
remove mind fix
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@413 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | util/shmctl.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/util/shmctl.c b/util/shmctl.c index 348b6024..bdefc8e2 100644 --- a/util/shmctl.c +++ b/util/shmctl.c @@ -1,4 +1,4 @@ -/* $Id: shmctl.c,v 1.23 2002/06/30 18:16:33 in2 Exp $ */ +/* $Id: shmctl.c,v 1.24 2002/07/05 10:59:29 in2 Exp $ */ #include "bbs.h" extern SHM_t *SHM; @@ -102,11 +102,6 @@ int utmpfix(int argc, char **argv) i, clean, SHM->uinfo[i].userid); memset(&SHM->uinfo[i], 0, sizeof(userinfo_t)); } - else if ( SHM->uinfo[i].mind > 40 ){ - printf("mind fix: %06d, userid: %s, mind: %d\n", - i, SHM->uinfo[i].userid, SHM->uinfo[i].mind); - SHM->uinfo[i].mind %= 40; - } } SHM->UTMPbusystate = 0; return 0; |