summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-05 18:59:29 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-05 18:59:29 +0800
commit182b16dde08e2ab6c1ef7d5a21f6baae71360a92 (patch)
treed5aeac3b3686505d5ee2e9d0a339ca40a581d79d
parent9e5d6c45157f1c016389bbf39b2facf407a3f756 (diff)
downloadpttbbs-182b16dde08e2ab6c1ef7d5a21f6baae71360a92.tar
pttbbs-182b16dde08e2ab6c1ef7d5a21f6baae71360a92.tar.gz
pttbbs-182b16dde08e2ab6c1ef7d5a21f6baae71360a92.tar.bz2
pttbbs-182b16dde08e2ab6c1ef7d5a21f6baae71360a92.tar.lz
pttbbs-182b16dde08e2ab6c1ef7d5a21f6baae71360a92.tar.xz
pttbbs-182b16dde08e2ab6c1ef7d5a21f6baae71360a92.tar.zst
pttbbs-182b16dde08e2ab6c1ef7d5a21f6baae71360a92.zip
remove mind fix
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@413 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/util/shmctl.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/pttbbs/util/shmctl.c b/pttbbs/util/shmctl.c
index 348b6024..bdefc8e2 100644
--- a/pttbbs/util/shmctl.c
+++ b/pttbbs/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;