summaryrefslogtreecommitdiffstats
path: root/util/uhash_loader.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-06 04:34:07 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-06 04:34:07 +0800
commit1f7dc4c32af84d525d8cf91decae19dc1ab2da02 (patch)
tree95bce0033c5197347b08627f3b422cc230fd89c2 /util/uhash_loader.c
parent2d49c43abc05fc453ff3ff154fbe3a8dfd1fb571 (diff)
downloadpttbbs-1f7dc4c32af84d525d8cf91decae19dc1ab2da02.tar
pttbbs-1f7dc4c32af84d525d8cf91decae19dc1ab2da02.tar.gz
pttbbs-1f7dc4c32af84d525d8cf91decae19dc1ab2da02.tar.bz2
pttbbs-1f7dc4c32af84d525d8cf91decae19dc1ab2da02.tar.lz
pttbbs-1f7dc4c32af84d525d8cf91decae19dc1ab2da02.tar.xz
pttbbs-1f7dc4c32af84d525d8cf91decae19dc1ab2da02.tar.zst
pttbbs-1f7dc4c32af84d525d8cf91decae19dc1ab2da02.zip
add FILE_BOTTOM for push_bottom
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1699 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/uhash_loader.c')
-rw-r--r--util/uhash_loader.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/uhash_loader.c b/util/uhash_loader.c
index 2ea80975..7c2f9beb 100644
--- a/util/uhash_loader.c
+++ b/util/uhash_loader.c
@@ -121,7 +121,8 @@ void add_to_uhash(int n, userec_t *user)
{
int *p, h = string_hash(user->userid);
strcpy(SHM->userid[n], user->userid);
- SHM->money[n] = user->money;
+ SHM->money[n] = -1;
+ //user->money;
p = &(SHM->hash_head[h]);