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
commit8792923d30c24f8ad55d30152b89cc7ec1a6101c (patch)
treef8eefc151a437d592eaf141a574e1875b9243201
parent795c19786bb2ca560d0efd6b7af7572444231a31 (diff)
downloadpttbbs-8792923d30c24f8ad55d30152b89cc7ec1a6101c.tar
pttbbs-8792923d30c24f8ad55d30152b89cc7ec1a6101c.tar.gz
pttbbs-8792923d30c24f8ad55d30152b89cc7ec1a6101c.tar.bz2
pttbbs-8792923d30c24f8ad55d30152b89cc7ec1a6101c.tar.lz
pttbbs-8792923d30c24f8ad55d30152b89cc7ec1a6101c.tar.xz
pttbbs-8792923d30c24f8ad55d30152b89cc7ec1a6101c.tar.zst
pttbbs-8792923d30c24f8ad55d30152b89cc7ec1a6101c.zip
ifdef ASSESS
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1267 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/bbs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c
index 10197821..3bd64476 100644
--- a/pttbbs/mbbsd/bbs.c
+++ b/pttbbs/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();