summaryrefslogtreecommitdiffstats
path: root/mbbsd/mail.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-12 21:41:16 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-12 21:41:16 +0800
commitedd89e653d6dbb25d9c2330082291d90db5d63d3 (patch)
tree34d3f27130663d4c9433c53e009ca54731f2f537 /mbbsd/mail.c
parent1482e4d5c5887fe0e1822e7753d4f7273cb38aa5 (diff)
downloadpttbbs-edd89e653d6dbb25d9c2330082291d90db5d63d3.tar
pttbbs-edd89e653d6dbb25d9c2330082291d90db5d63d3.tar.gz
pttbbs-edd89e653d6dbb25d9c2330082291d90db5d63d3.tar.bz2
pttbbs-edd89e653d6dbb25d9c2330082291d90db5d63d3.tar.lz
pttbbs-edd89e653d6dbb25d9c2330082291d90db5d63d3.tar.xz
pttbbs-edd89e653d6dbb25d9c2330082291d90db5d63d3.tar.zst
pttbbs-edd89e653d6dbb25d9c2330082291d90db5d63d3.zip
move global variable into local, 587 bytes
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2607 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r--mbbsd/mail.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index 44ea13ce..f25a73de 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -1159,7 +1159,7 @@ mail_man(void)
sethomeman(buf, cuser.userid);
snprintf(buf1, sizeof(buf1), "%s ªº«H¥ó§¨", cuser.userid);
- a_menu(buf1, buf, HAS_PERM(PERM_MAILLIMIT));
+ a_menu(buf1, buf, HAS_PERM(PERM_MAILLIMIT), NULL);
currutmp->mode = mode0;
currstat = stat0;
return FULLUPDATE;
@@ -1193,8 +1193,9 @@ mail_cite(int ent, fileheader_t * fhdr, char *direct)
if (*xboard && ((bid = getbnum(xboard)) >= 0)){ /* XXXbid */
setapath(fpath, xboard);
setutmpmode(ANNOUNCE);
- a_menu(xboard, fpath, HAS_PERM(PERM_ALLBOARD) ? 2 :
- is_BM_cache(bid) ? 1 : 0);
+ a_menu(xboard, fpath,
+ HAS_PERM(PERM_ALLBOARD) ? 2 : is_BM_cache(bid) ? 1 : 0,
+ NULL);
} else {
mail_man();
}
@@ -1218,7 +1219,7 @@ mail_save(int ent, fileheader_t * fhdr, char *direct)
title[TTLEN] = '\0';
a_copyitem(fpath, title, fhdr->owner, 1);
sethomeman(fpath, cuser.userid);
- a_menu(cuser.userid, fpath, 1);
+ a_menu(cuser.userid, fpath, 1, NULL);
return FULLUPDATE;
}
return DONOTHING;