diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-02-12 18:29:10 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-02-12 18:29:10 +0800 |
commit | 661c66818ba37161c4626e0b5026fd6fe30a89a8 (patch) | |
tree | 6ad0448e2d9cb4421cdf16860c5841d6be46df9d /mbbsd/admin.c | |
parent | e563476440b601acfe2918c6aeb56fe3dd60be24 (diff) | |
download | pttbbs-661c66818ba37161c4626e0b5026fd6fe30a89a8.tar pttbbs-661c66818ba37161c4626e0b5026fd6fe30a89a8.tar.gz pttbbs-661c66818ba37161c4626e0b5026fd6fe30a89a8.tar.bz2 pttbbs-661c66818ba37161c4626e0b5026fd6fe30a89a8.tar.lz pttbbs-661c66818ba37161c4626e0b5026fd6fe30a89a8.tar.xz pttbbs-661c66818ba37161c4626e0b5026fd6fe30a89a8.tar.zst pttbbs-661c66818ba37161c4626e0b5026fd6fe30a89a8.zip |
check if uid is in range in deumoney(). or damage SHM.
this checking should be done in upper layer or users could
not get the error messages. so mark as TODO.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2499 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r-- | mbbsd/admin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c index f2c6271b..78a0c945 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -1343,7 +1343,7 @@ give_id_money(char *user_id, int money, FILE * log_fp, char *mail_title, time4_t { char tt[TTLEN + 1] = {0}; - if (deumoney(searchuser(user_id), money) < 0) { // FIXME if searchuser() return 0 + if (deumoney(searchuser(user_id), money) < 0) { // TODO if searchuser() return 0 move(12, 0); clrtoeol(); prints("id:%s money:%d ¤£¹ï§a!!", user_id, money); |