diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-30 13:53:24 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-30 13:53:24 +0800 |
commit | 411661c4660d61b365224c5263e5ae93ef04c194 (patch) | |
tree | 986602046f5b3e92112274abddadbc61bb8559c9 /mbbsd/read.c | |
parent | c5484be541d5c1e1929b5dce01cd757fb65d5974 (diff) | |
download | pttbbs-411661c4660d61b365224c5263e5ae93ef04c194.tar pttbbs-411661c4660d61b365224c5263e5ae93ef04c194.tar.gz pttbbs-411661c4660d61b365224c5263e5ae93ef04c194.tar.bz2 pttbbs-411661c4660d61b365224c5263e5ae93ef04c194.tar.lz pttbbs-411661c4660d61b365224c5263e5ae93ef04c194.tar.xz pttbbs-411661c4660d61b365224c5263e5ae93ef04c194.tar.zst pttbbs-411661c4660d61b365224c5263e5ae93ef04c194.zip |
- more check for TagNum
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3764 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/read.c')
-rw-r--r-- | mbbsd/read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c index 1335e812..d353b12a 100644 --- a/mbbsd/read.c +++ b/mbbsd/read.c @@ -57,7 +57,7 @@ Tagger(time4_t chrono, int recno, int mode) } if (!comp) { - if (mode != TAG_TOGGLE) + if (mode != TAG_TOGGLE || TagNum <= 0) return NA; TagNum--; |