summaryrefslogtreecommitdiffstats
path: root/mbbsd/mail.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-06 12:35:16 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-06 12:35:16 +0800
commitea71bde6b0addb910454451a969e2cfeca14eb4d (patch)
tree823a5287668cc1c0fd3fdbb23e5e205b48a6108d /mbbsd/mail.c
parent312ac55f526f388f6154c9861f232659d348aae2 (diff)
downloadpttbbs-ea71bde6b0addb910454451a969e2cfeca14eb4d.tar
pttbbs-ea71bde6b0addb910454451a969e2cfeca14eb4d.tar.gz
pttbbs-ea71bde6b0addb910454451a969e2cfeca14eb4d.tar.bz2
pttbbs-ea71bde6b0addb910454451a969e2cfeca14eb4d.tar.lz
pttbbs-ea71bde6b0addb910454451a969e2cfeca14eb4d.tar.xz
pttbbs-ea71bde6b0addb910454451a969e2cfeca14eb4d.tar.zst
pttbbs-ea71bde6b0addb910454451a969e2cfeca14eb4d.zip
- mail: prevent false alerts more carefully
- pfterm: add getmaxyx - bbslua: change format detection and API refine - var/mode: string fix git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3796 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r--mbbsd/mail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index a9f4f9d7..972f37c3 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -1154,6 +1154,7 @@ mail_read_all(int ent, fileheader_t * fhdr, const char *direct)
int fd = 0;
fileheader_t xfhdr;
+ currutmp->alerts &= ~ALERT_NEW_MAIL;
if ((fd = open(currmaildir, O_RDWR)) < 0)
return DONOTHING;