]> source.dussan.org Git - rspamd.git/commitdiff
Fix dkim code.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 6 Oct 2015 14:56:30 +0000 (15:56 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 6 Oct 2015 14:56:30 +0000 (15:56 +0100)
src/libserver/dkim.c

index 2cfa184a38f769363739c3db3916391d0f436b6c..3b8fc63b566ac2e81afe0ba848ee241240db70aa 100644 (file)
@@ -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 */