diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-06-26 03:27:17 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-06-26 03:27:17 +0800 |
commit | 42d9500f4b43e6f6c5680d1a2fd5065164698d1f (patch) | |
tree | 53146a367eecfa943caa4c211556fb70b8e20ebb /mbbsd/mail.c | |
parent | 88e8fa575c7f9e8c4145e06676468f8f48eaad54 (diff) | |
download | pttbbs-42d9500f4b43e6f6c5680d1a2fd5065164698d1f.tar pttbbs-42d9500f4b43e6f6c5680d1a2fd5065164698d1f.tar.gz pttbbs-42d9500f4b43e6f6c5680d1a2fd5065164698d1f.tar.bz2 pttbbs-42d9500f4b43e6f6c5680d1a2fd5065164698d1f.tar.lz pttbbs-42d9500f4b43e6f6c5680d1a2fd5065164698d1f.tar.xz pttbbs-42d9500f4b43e6f6c5680d1a2fd5065164698d1f.tar.zst pttbbs-42d9500f4b43e6f6c5680d1a2fd5065164698d1f.zip |
1. use setupmailusage instead touchmailusage
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2089 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r-- | mbbsd/mail.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c index 015776e3..bb98674c 100644 --- a/mbbsd/mail.c +++ b/mbbsd/mail.c @@ -138,12 +138,6 @@ m_init() } void -touchmailusage() -{ - mailkeep=0; -} - -void setupmailusage() { // Ptt: get_sum_records is a bad function int max_keepmail = MAX_KEEPMAIL; @@ -841,7 +835,7 @@ mail_del(int ent, fileheader_t * fhdr, char *direct) if (getans(msg_del_ny) == 'y') { if (!delete_record(direct, sizeof(*fhdr), ent)) { - touchmailusage(); + setupmailusage(); setdirpath(genbuf, direct, fhdr->filename); unlink(genbuf); return DIRCHANGED; |