diff options
-rw-r--r-- | pttbbs/mbbsd/mail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/mail.c b/pttbbs/mbbsd/mail.c index d47e41a6..6a56d1af 100644 --- a/pttbbs/mbbsd/mail.c +++ b/pttbbs/mbbsd/mail.c @@ -201,7 +201,7 @@ mail_log2id_text(const char *id, const char *title, const char *message, strlcpy(mhdr.owner, owner, sizeof(mhdr.owner)); strlcpy(mhdr.title, title, sizeof(mhdr.title)); mhdr.filemode = newmail ? 0 : FILE_READ; - log_filef(dst, LOG_CREAT, message); + log_filef(dst, LOG_CREAT, "%s", message); sethomedir(dirf, id); append_record(dirf, &mhdr, sizeof(mhdr)); |