summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-04-01 22:27:40 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-04-01 22:27:40 +0800
commit3685061b7777ae53d30221c5c8de4ec0009a30b2 (patch)
treea174d2f842152620cebdb5a9894ee400aabc5284 /util
parentab44da1246047580e260f85286f1cb2ebbbba0f8 (diff)
downloadpttbbs-3685061b7777ae53d30221c5c8de4ec0009a30b2.tar
pttbbs-3685061b7777ae53d30221c5c8de4ec0009a30b2.tar.gz
pttbbs-3685061b7777ae53d30221c5c8de4ec0009a30b2.tar.bz2
pttbbs-3685061b7777ae53d30221c5c8de4ec0009a30b2.tar.lz
pttbbs-3685061b7777ae53d30221c5c8de4ec0009a30b2.tar.xz
pttbbs-3685061b7777ae53d30221c5c8de4ec0009a30b2.tar.zst
pttbbs-3685061b7777ae53d30221c5c8de4ec0009a30b2.zip
bug fix: online user number is SHM->UTMPnumber instead of SHM->number. however, don't modify it here.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3316 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/userlist.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/util/userlist.c b/util/userlist.c
index 7604d14c..67558985 100644
--- a/util/userlist.c
+++ b/util/userlist.c
@@ -48,10 +48,6 @@ int main(int argc, char **argv) {
f->nickname, f->from, f->mode, f->lastact);
}
printf("\nTotal: %d(%d)\n", counter, SHM->number);
- if(counter != SHM->number) {
- SHM->number = counter;
- printf("adjust user number!\n");
- }
}
return 0;
}