summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-30 06:11:44 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-30 06:11:44 +0800
commit03b52ab944dd5a7c5bd0f868a8ba171a79e2d2b1 (patch)
tree4e5369dba030f8ae400dbbecdc24cacbcd765a60
parent7fc05c147f265dbbb11ae8a37684779e4f5c2644 (diff)
downloadpttbbs-03b52ab944dd5a7c5bd0f868a8ba171a79e2d2b1.tar
pttbbs-03b52ab944dd5a7c5bd0f868a8ba171a79e2d2b1.tar.gz
pttbbs-03b52ab944dd5a7c5bd0f868a8ba171a79e2d2b1.tar.bz2
pttbbs-03b52ab944dd5a7c5bd0f868a8ba171a79e2d2b1.tar.lz
pttbbs-03b52ab944dd5a7c5bd0f868a8ba171a79e2d2b1.tar.xz
pttbbs-03b52ab944dd5a7c5bd0f868a8ba171a79e2d2b1.tar.zst
pttbbs-03b52ab944dd5a7c5bd0f868a8ba171a79e2d2b1.zip
change function of passwd
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1633 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--util/uhash_loader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/uhash_loader.c b/util/uhash_loader.c
index 00ba2d70..771882a0 100644
--- a/util/uhash_loader.c
+++ b/util/uhash_loader.c
@@ -127,6 +127,7 @@ int loadmoney(userec_t *user)
if(lseek(fd, (off_t)((int)&(user->money) - (int)user), SEEK_SET) >= 0)
read(fd, &money, sizeof(int));
close(fd);
+ user->money=money;
return money;
}