diff options
author | Haru <haru@dotalux.com> | 2017-07-27 10:39:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-27 10:39:40 +0200 |
commit | b04ce31b952c75d5206fbfec68f2a2712da833c3 (patch) | |
tree | 9031210c2158e437dec26b26f1135934fe692dbf /src/char | |
parent | 45d2d465591d89d927aadf398cdb6166afe9cd9a (diff) | |
parent | 08121dbcef6b6a70e39ba6c5391d605d1f3e3944 (diff) | |
download | hercules-b04ce31b952c75d5206fbfec68f2a2712da833c3.tar.gz hercules-b04ce31b952c75d5206fbfec68f2a2712da833c3.tar.bz2 hercules-b04ce31b952c75d5206fbfec68f2a2712da833c3.tar.xz hercules-b04ce31b952c75d5206fbfec68f2a2712da833c3.zip |
Merge pull request #1811 from 4144/refactor
Refactor status_change_start and fix some issues in other code
Diffstat (limited to 'src/char')
-rw-r--r-- | src/char/int_mail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/int_mail.c b/src/char/int_mail.c index 1d00b0fdf..7f054eda1 100644 --- a/src/char/int_mail.c +++ b/src/char/int_mail.c @@ -426,7 +426,7 @@ void mapif_parse_mail_return(int fd) safestrncpy(msg.dest_name, temp_, NAME_LENGTH); // set reply message title - snprintf(temp_, MAIL_TITLE_LENGTH, "RE:%s", msg.title); + safesnprintf(temp_, MAIL_TITLE_LENGTH, "RE:%s", msg.title); safestrncpy(msg.title, temp_, MAIL_TITLE_LENGTH); msg.status = MAIL_NEW; |