diff options
Diffstat (limited to 'src/libmime/message.c')
-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 99b84e385..8a9601fa7 100644 --- a/src/libmime/message.c +++ b/src/libmime/message.c @@ -467,7 +467,7 @@ rspamd_strip_newlines_parse (struct rspamd_task *task, if (G_UNLIKELY (*c) == ' ') { part->spaces ++; - if (*(c - 1) == ' ') { + if (c > begin && *(c - 1) == ' ') { part->double_spaces ++; } } |