aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-06 15:56:30 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-06 15:56:30 +0100
commit628944c266f61b2239df8774a5bb756a7cb0ae35 (patch)
tree0158e15b31a92d56a6ded108e5eb2d091d2f8c05
parentbe1c6fd92d9eadcde3efde589c490fa854f6071b (diff)
downloadrspamd-628944c266f61b2239df8774a5bb756a7cb0ae35.tar.gz
rspamd-628944c266f61b2239df8774a5bb756a7cb0ae35.zip
Fix dkim code.
-rw-r--r--src/libserver/dkim.c4
1 files 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 */