summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
author(no author) <(no author)@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-10-08 05:45:35 +0800
committer(no author) <(no author)@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-10-08 05:45:35 +0800
commit13d80a7e50c02922c31cbe436fb2c9174d315db5 (patch)
tree9a810677f90e9a05aaf7e72cf9eed05f86075010 /mbbsd
parent034b5e55dddfb355aaaeb52d98af31709990a9a4 (diff)
downloadpttbbs-13d80a7e50c02922c31cbe436fb2c9174d315db5.tar
pttbbs-13d80a7e50c02922c31cbe436fb2c9174d315db5.tar.gz
pttbbs-13d80a7e50c02922c31cbe436fb2c9174d315db5.tar.bz2
pttbbs-13d80a7e50c02922c31cbe436fb2c9174d315db5.tar.lz
pttbbs-13d80a7e50c02922c31cbe436fb2c9174d315db5.tar.xz
pttbbs-13d80a7e50c02922c31cbe436fb2c9174d315db5.tar.zst
pttbbs-13d80a7e50c02922c31cbe436fb2c9174d315db5.zip
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1226 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/bbs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index cbaa69b5..eaa3bc3f 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1450,8 +1450,8 @@ do_bid(int ent, fileheader_t * fhdr, boardheader_t *bp, char *direct, struct t
get_record(fpath, &bidinfo, sizeof(bidinfo), 1);
if(bidinfo.buyitnow && i>bidinfo.buyitnow)
- i=bidonfo.buyitnow;
- esle if(!bidinfo.userid[0])
+ i=bidinfo.buyitnow;
+ else if(!bidinfo.userid[0])
next=bidinfo.high;
else
next=bidinfo.high + bidinfo.increment;