summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-10-27 10:18:59 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-10-27 10:18:59 +0800
commit64a2bc80f893b897adde554ed2d9d822d09d1c2d (patch)
treeec8e224f4f541b6251d120ac67e1e75e3a2d693a
parent8d6ea9a5ef7318ad822adb7f0398bfe505c730da (diff)
downloadpttbbs-64a2bc80f893b897adde554ed2d9d822d09d1c2d.tar
pttbbs-64a2bc80f893b897adde554ed2d9d822d09d1c2d.tar.gz
pttbbs-64a2bc80f893b897adde554ed2d9d822d09d1c2d.tar.bz2
pttbbs-64a2bc80f893b897adde554ed2d9d822d09d1c2d.tar.lz
pttbbs-64a2bc80f893b897adde554ed2d9d822d09d1c2d.tar.xz
pttbbs-64a2bc80f893b897adde554ed2d9d822d09d1c2d.tar.zst
pttbbs-64a2bc80f893b897adde554ed2d9d822d09d1c2d.zip
ifdef ASSESS
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1267 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/bbs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 10197821..3bd64476 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1415,6 +1415,7 @@ do_bid(int ent, fileheader_t * fhdr, boardheader_t *bp, char *direct, struct t
}*/
prints("恭喜 %s 以 %d 得標!", bidinfo.userid,
bidinfo.high);
+#ifdef ASSESS
if (!(bidinfo.flag & SALE_COMMENTED) && strcmp(bidinfo.userid, currutmp->userid) == 0){
char tmp = getans("您對於這次交易的評價如何? 1:佳 2:欠佳 3:普通[Q]");
if ('1' <= tmp && tmp <= '3'){
@@ -1430,6 +1431,7 @@ do_bid(int ent, fileheader_t * fhdr, boardheader_t *bp, char *direct, struct t
substitute_record(fpath, &bidinfo, sizeof(bidinfo), 1);
}
}
+#endif
}
else prints("無人得標!");
pressanykey();