From 628944c266f61b2239df8774a5bb756a7cb0ae35 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 6 Oct 2015 15:56:30 +0100 Subject: [PATCH] Fix dkim code. --- src/libserver/dkim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libserver/dkim.c b/src/libserver/dkim.c index 2cfa184a3..3b8fc63b5 100644 --- a/src/libserver/dkim.c +++ b/src/libserver/dkim.c @@ -1630,9 +1630,9 @@ rspamd_dkim_check (rspamd_dkim_context_t *ctx, g_return_val_if_fail (task->msg.len > 0, DKIM_ERROR); /* First of all find place of body */ - p = task->msg.start; + p = task->msg.begin; - end = task->msg.start + task->msg.len; + end = task->msg.begin + task->msg.len; while (p <= end) { /* Search for \r\n\r\n at the end of headers */ -- 2.39.5