diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libmime/mime_headers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/mime_headers.c b/src/libmime/mime_headers.c index f33311bbf..63419d6a3 100644 --- a/src/libmime/mime_headers.c +++ b/src/libmime/mime_headers.c @@ -863,7 +863,7 @@ rspamd_mime_header_encode(const char *in, gsize len, bool is_structured) if (need_encoding && (c == '(' || c == ')')) { /* If we need to encode, we must stop on comments characters */ - piece_len = i + 1; + piece_len = i; q = p + piece_len; /* No more space */ break; |