aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/mime_parser.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-04-27 17:00:33 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-04-27 17:00:33 +0100
commit3ff27cd87afb23252c734d8c463b05492f72f3c2 (patch)
tree6817af9506ad1227d5e3a9117be10281e4e15951 /src/libmime/mime_parser.c
parent7ffb32ce0bbc53e7262470fd485576818c38cb9e (diff)
downloadrspamd-3ff27cd87afb23252c734d8c463b05492f72f3c2.tar.gz
rspamd-3ff27cd87afb23252c734d8c463b05492f72f3c2.zip
[Fix] Skip spaces at the boundary end
Diffstat (limited to 'src/libmime/mime_parser.c')
-rw-r--r--src/libmime/mime_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/mime_parser.c b/src/libmime/mime_parser.c
index e15f8974e..4038f59c6 100644
--- a/src/libmime/mime_parser.c
+++ b/src/libmime/mime_parser.c
@@ -1076,7 +1076,7 @@ rspamd_mime_preprocess_cb (struct rspamd_multipattern *mp,
blen = 0;
while (p < end) {
- if (*p == '\r' || *p == '\n') {
+ if (g_ascii_isspace (*p)) {
break;
}
else if (*p != '-') {