summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-12 18:29:10 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-12 18:29:10 +0800
commit661c66818ba37161c4626e0b5026fd6fe30a89a8 (patch)
tree6ad0448e2d9cb4421cdf16860c5841d6be46df9d /mbbsd/bbs.c
parente563476440b601acfe2918c6aeb56fe3dd60be24 (diff)
downloadpttbbs-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/bbs.c')
-rw-r--r--mbbsd/bbs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index dab735e2..b99b7d0d 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -2322,7 +2322,7 @@ good_post(int ent, fileheader_t * fhdr, char *direct)
fhdr->filemode = (fhdr->filemode & ~FILE_DIGEST);
if (!strcmp(currboard, "Note") || !strcmp(currboard, "PttBug") ||
!strcmp(currboard, "Artdsn") || !strcmp(currboard, "PttLaw")) {
- deumoney(searchuser(fhdr->owner), -1000); // FIXME if searchuser() return 0
+ deumoney(searchuser(fhdr->owner), -1000); // TODO if searchuser() return 0
if (!(currmode & MODE_SELECT))
fhdr->multi.money -= 1000;
else
@@ -2361,7 +2361,7 @@ good_post(int ent, fileheader_t * fhdr, char *direct)
fhdr->filemode = (fhdr->filemode & ~FILE_MARKED) | FILE_DIGEST;
if (!strcmp(currboard, "Note") || !strcmp(currboard, "PttBug") ||
!strcmp(currboard, "Artdsn") || !strcmp(currboard, "PttLaw")) {
- deumoney(searchuser(fhdr->owner), 1000); // FIXME if searchuser() return 0
+ deumoney(searchuser(fhdr->owner), 1000); // TODO if searchuser() return 0
if (!(currmode & MODE_SELECT))
fhdr->multi.money += 1000;
else