aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/mime_parser.c
diff options
context:
space:
mode:
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 9ce39ad16..2f999de89 100644
--- a/src/libmime/mime_parser.c
+++ b/src/libmime/mime_parser.c
@@ -1286,7 +1286,7 @@ rspamd_mime_parse_message (struct rspamd_task *task,
if (nst->boundaries) {
struct rspamd_mime_boundary *boundary, *start_boundary = NULL,
*end_boundary = NULL;
- goffset cur_offset = st->pos - st->start,
+ goffset cur_offset = nst->pos - nst->start,
end_offset = st->end - st->start;
guint sel_idx = 0;