diff options
-rw-r--r-- | src/libmime/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/message.c b/src/libmime/message.c index 164a1bd9b..f6c84e123 100644 --- a/src/libmime/message.c +++ b/src/libmime/message.c @@ -945,7 +945,7 @@ rspamd_text_to_utf8 (struct rspamd_task *task, } } - *d++ = '\0'; + *d = '\0'; *olen = d - res; return res; |