diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-18 20:17:13 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-18 20:17:13 +0000 |
commit | 348e8406b833bb0c4f872d7a7ff39179abaccd4c (patch) | |
tree | 02f4054e5c50de9b77d1233e488ea827e189be01 /src/libmime | |
parent | 343e02298ce04c8dc16c70b56cac276d530541a5 (diff) | |
download | rspamd-348e8406b833bb0c4f872d7a7ff39179abaccd4c.tar.gz rspamd-348e8406b833bb0c4f872d7a7ff39179abaccd4c.zip |
[Minor] Fix offset
Diffstat (limited to 'src/libmime')
-rw-r--r-- | src/libmime/mime_encoding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/mime_encoding.c b/src/libmime/mime_encoding.c index dcaa1612a..c3f69edbd 100644 --- a/src/libmime/mime_encoding.c +++ b/src/libmime/mime_encoding.c @@ -488,7 +488,7 @@ rspamd_mime_charset_utf_enforce (gchar *in, gsize len) if (uc > 0) { /* Fill string between err_offset and tmp with `?` character */ - memset (p + err_offset - 1, '?', tmp - err_offset); + memset (p + err_offset, '?', tmp - err_offset); break; } } |