diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-04-08 22:20:37 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-04-08 22:20:37 +0800 |
commit | c7630e7cdb0bde70327f4b03a8def2656c5dcc33 (patch) | |
tree | fd9ed65fa7e32d540cb0e706b07ef4008c76d034 /mbbsd/mail.c | |
parent | 265c05ec6ccf6abce34fb942a7bea72617adfd86 (diff) | |
download | pttbbs-c7630e7cdb0bde70327f4b03a8def2656c5dcc33.tar pttbbs-c7630e7cdb0bde70327f4b03a8def2656c5dcc33.tar.gz pttbbs-c7630e7cdb0bde70327f4b03a8def2656c5dcc33.tar.bz2 pttbbs-c7630e7cdb0bde70327f4b03a8def2656c5dcc33.tar.lz pttbbs-c7630e7cdb0bde70327f4b03a8def2656c5dcc33.tar.xz pttbbs-c7630e7cdb0bde70327f4b03a8def2656c5dcc33.tar.zst pttbbs-c7630e7cdb0bde70327f4b03a8def2656c5dcc33.zip |
bug fix: board not found error handling.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3327 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r-- | mbbsd/mail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c index 6c6ff5ab..2b82fb3e 100644 --- a/mbbsd/mail.c +++ b/mbbsd/mail.c @@ -1391,7 +1391,7 @@ mail_cite(int ent, fileheader_t * fhdr, const char *direct) CompleteBoard("輸入看板名稱 (直接Enter進入私人信件夾):", buf); if (*buf) strlcpy(xboard, buf, sizeof(xboard)); - if (*xboard && ((bid = getbnum(xboard)) >= 0)){ /* XXXbid */ + if (*xboard && ((bid = getbnum(xboard)) > 0)){ /* XXXbid */ setapath(fpath, xboard); setutmpmode(ANNOUNCE); a_menu(xboard, fpath, |