summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-03-27 00:13:47 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-03-27 00:13:47 +0800
commit03c5aaa42eefc2a6d8bbece0eb08adaf3e016ba1 (patch)
treebd647d1d4ed9dd0c13cf6b4d93fcc155c178674e /util
parent24f0e64aee9f065c6ff9e9af6fa674e46611c097 (diff)
downloadpttbbs-03c5aaa42eefc2a6d8bbece0eb08adaf3e016ba1.tar
pttbbs-03c5aaa42eefc2a6d8bbece0eb08adaf3e016ba1.tar.gz
pttbbs-03c5aaa42eefc2a6d8bbece0eb08adaf3e016ba1.tar.bz2
pttbbs-03c5aaa42eefc2a6d8bbece0eb08adaf3e016ba1.tar.lz
pttbbs-03c5aaa42eefc2a6d8bbece0eb08adaf3e016ba1.tar.xz
pttbbs-03c5aaa42eefc2a6d8bbece0eb08adaf3e016ba1.tar.zst
pttbbs-03c5aaa42eefc2a6d8bbece0eb08adaf3e016ba1.zip
remove dangerous function.
rename it if anyone want that function. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3302 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/userlist.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/util/userlist.c b/util/userlist.c
index 12f6b3d9..7604d14c 100644
--- a/util/userlist.c
+++ b/util/userlist.c
@@ -35,11 +35,6 @@ int main(int argc, char **argv) {
f->userid, SHM->money[f->uid - 1]);
}
}
- else if(argc > 1)
- {
- for(i = 1; i < argc; i++)
- SHM->uinfo[atoi(argv[i])].pid = 0;
- }
else
{
for(i = counter = 0; i < USHM_SIZE; i++)