diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-18 18:15:50 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-18 18:15:50 +0000 |
commit | cdce0ad1eef3b5addb466828742a016d3f8ddef7 (patch) | |
tree | f2c775718b01ad354093715106d6608295e4ea3b /src/libmime/mime_parser.c | |
parent | 5efc6ae1edae1fa5da02daff68d41fc5f4bac5fd (diff) | |
download | rspamd-cdce0ad1eef3b5addb466828742a016d3f8ddef7.tar.gz rspamd-cdce0ad1eef3b5addb466828742a016d3f8ddef7.zip |
[Minor] Fix boundary calculation
Diffstat (limited to 'src/libmime/mime_parser.c')
-rw-r--r-- | src/libmime/mime_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/mime_parser.c b/src/libmime/mime_parser.c index ca31bac8c..6dec581bf 100644 --- a/src/libmime/mime_parser.c +++ b/src/libmime/mime_parser.c @@ -693,7 +693,7 @@ rspamd_mime_preprocess_cb (struct rspamd_multipattern *mp, } b.boundary = p - st->start - 3; - b.start = bend - st->start - 1; + b.start = bend - st->start; lc_copy = g_malloc (blen); memcpy (lc_copy, p, blen); |