diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-11-19 14:39:44 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-11-19 14:39:44 +0000 |
commit | 55bf87c6af0cd32fb45de1e5c945f805f1c23d18 (patch) | |
tree | 8e85ecd52a0ccfd7286f8d0ff0e2957f6fa9da03 /src/libmime | |
parent | 7f7eed09f65e3597769cb837f2fe2ad6c3e3cf9c (diff) | |
download | rspamd-55bf87c6af0cd32fb45de1e5c945f805f1c23d18.tar.gz rspamd-55bf87c6af0cd32fb45de1e5c945f805f1c23d18.zip |
Do not include \0 into length of text.
Diffstat (limited to 'src/libmime')
-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; |