diff options
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/announce.c | 3 | ||||
-rw-r--r-- | mbbsd/mail.c | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/mbbsd/announce.c b/mbbsd/announce.c index 8b947995..65a02ed2 100644 --- a/mbbsd/announce.c +++ b/mbbsd/announce.c @@ -601,6 +601,7 @@ a_appenditem(const menu_t * pm, int isask) return; } + // fname = destination sz = dashs(fname); if (sz >= MAX_FILE_SIZE) { @@ -621,6 +622,8 @@ a_appenditem(const menu_t * pm, int isask) fclose(fp); return; } + // cq->copyfile = input + sz = dashs(cq->copyfile); memset(buf, '-', 74); buf[74] = '\0'; diff --git a/mbbsd/mail.c b/mbbsd/mail.c index f9e116ca..9d1c61da 100644 --- a/mbbsd/mail.c +++ b/mbbsd/mail.c @@ -1271,7 +1271,8 @@ mail_reply(int ent, fileheader_t * fhdr, const char *direct) if (!fhdr || !fhdr->filename[0]) return DONOTHING; - if (fhdr->owner[0] == '[' || (fhdr->filemode & FILE_ANONYMOUS)) + if (fhdr->owner[0] == '[' fhdr->owner[0] == '-' + || (fhdr->filemode & FILE_ANONYMOUS)) { // system mail. reject. vmsg("µLªk¦^«H¡C"); |