summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/mail.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index a5f09ce3..a7e7504e 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -654,6 +654,9 @@ multi_send(char *title)
static int
multi_reply(int ent, fileheader_t * fhdr, const char *direct)
{
+ if (!fhdr || !fhdr->filename[0])
+ return DONOTHING;
+
if (!(fhdr->filemode & FILE_MULTI))
return mail_reply(ent, fhdr, direct);
@@ -1210,6 +1213,9 @@ mail_reply(int ent, fileheader_t * fhdr, const char *direct)
char genbuf[512];
int oent = ent;
+ if (!fhdr || !fhdr->filename[0])
+ return DONOTHING;
+
stand_title("¦^ «H");
/* §PÂ_¬O boards ©Î mail */