aboutsummaryrefslogtreecommitdiffstats
path: root/src/dkim.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-01-12 15:20:50 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-01-12 15:20:50 +0000
commit67b932ad9786743dc032ff2adc3788c5aadd3933 (patch)
tree084872b519dc54beef83cbdade01af8bb639eafd /src/dkim.c
parentd6b454eda97f6ffe8455ec83ab8da6293e7b9c07 (diff)
downloadrspamd-67b932ad9786743dc032ff2adc3788c5aadd3933.tar.gz
rspamd-67b932ad9786743dc032ff2adc3788c5aadd3933.zip
Start moving to HTTP world.
Diffstat (limited to 'src/dkim.c')
-rw-r--r--src/dkim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dkim.c b/src/dkim.c
index bd57cd232..2cf685641 100644
--- a/src/dkim.c
+++ b/src/dkim.c
@@ -1356,9 +1356,9 @@ rspamd_dkim_check (rspamd_dkim_context_t *ctx, rspamd_dkim_key_t *key, struct wo
g_return_val_if_fail (task->msg != NULL, DKIM_ERROR);
/* First of all find place of body */
- p = task->msg->begin;
+ p = task->msg->str;
- end = task->msg->begin + task->msg->len;
+ end = task->msg->str + task->msg->len;
while (p <= end) {
/* Search for \r\n\r\n at the end of headers */