diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-11-03 23:49:32 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-11-03 23:49:32 +0800 |
commit | 728b1b414c01ba227387b5fff72bd608d92789f0 (patch) | |
tree | 8f851f7d6afd9947f39fd51faca44d452693b4b0 | |
parent | 3bd8bcc145b015ba1d089d7cf39017ea391ca842 (diff) | |
download | pttbbs-728b1b414c01ba227387b5fff72bd608d92789f0.tar pttbbs-728b1b414c01ba227387b5fff72bd608d92789f0.tar.gz pttbbs-728b1b414c01ba227387b5fff72bd608d92789f0.tar.bz2 pttbbs-728b1b414c01ba227387b5fff72bd608d92789f0.tar.lz pttbbs-728b1b414c01ba227387b5fff72bd608d92789f0.tar.xz pttbbs-728b1b414c01ba227387b5fff72bd608d92789f0.tar.zst pttbbs-728b1b414c01ba227387b5fff72bd608d92789f0.zip |
typo. change '<' -> '<='
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2309 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/cal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c index 49e61a4e..e9ef946c 100644 --- a/mbbsd/cal.c +++ b/mbbsd/cal.c @@ -299,7 +299,7 @@ p_exmail() getdata_str(b_lines - 2, 0, buf, ans, sizeof(ans), LCECHO, "10"); n = atoi(ans); - if (!ans[0] || n<0) + if (!ans[0] || n<=0) return 0; if (n + cuser.exmailbox > MAX_EXKEEPMAIL) n = MAX_EXKEEPMAIL - cuser.exmailbox; |