From 9267cfb9d5a7be450ec3fd817856756370b4477b Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 11 Sep 2014 14:05:13 +0100 Subject: [PATCH] Fix mistake cloaked by precompiled headers. --- src/plugins/surbl.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c index 3f0d873d8..289c30d01 100644 --- a/src/plugins/surbl.c +++ b/src/plugins/surbl.c @@ -843,8 +843,11 @@ static void dns_callback (struct rdns_reply *reply, gpointer arg) { struct dns_param *param = (struct dns_param *)arg; + struct rspamd_task *task; struct rdns_reply_entry *elt; + task = param->task; + debug_task ("in surbl request callback"); /* If we have result from DNS server, this url exists in SURBL, so increase score */ if (reply->code == RDNS_RC_NOERROR && reply->entries) { @@ -880,9 +883,12 @@ redirector_callback (gint fd, short what, void *arg) gchar url_buf[512]; gint r; struct timeval *timeout; + struct rspamd_task *task; gchar *p, *c; gboolean found = FALSE; + task = param->task; + switch (param->state) { case STATE_CONNECT: /* We have write readiness after connect call, so reinit event */ -- 2.39.5