summaryrefslogtreecommitdiffstats
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
commit4e3e4e2d14e47bb50ca170b48eac683dd0950a48 (patch)
tree8965d63aa1196554af1f38c7a6e37336215d3706
parent772e6c0d848720ecd7db4aee086e1f5e9a6a4b36 (diff)
downloadpttbbs-4e3e4e2d14e47bb50ca170b48eac683dd0950a48.tar
pttbbs-4e3e4e2d14e47bb50ca170b48eac683dd0950a48.tar.gz
pttbbs-4e3e4e2d14e47bb50ca170b48eac683dd0950a48.tar.bz2
pttbbs-4e3e4e2d14e47bb50ca170b48eac683dd0950a48.tar.lz
pttbbs-4e3e4e2d14e47bb50ca170b48eac683dd0950a48.tar.xz
pttbbs-4e3e4e2d14e47bb50ca170b48eac683dd0950a48.tar.zst
pttbbs-4e3e4e2d14e47bb50ca170b48eac683dd0950a48.zip
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1226 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/bbs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c
index cbaa69b5..eaa3bc3f 100644
--- a/pttbbs/mbbsd/bbs.c
+++ b/pttbbs/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;