diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-09-11 14:05:13 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-09-11 14:05:13 +0100 |
commit | 9267cfb9d5a7be450ec3fd817856756370b4477b (patch) | |
tree | 39e04086c8a1cc0398701e4bcd7d1b59dcda5ab6 | |
parent | f5a986280b2c6d1c7b9288eb737727bfe3dcbafd (diff) | |
download | rspamd-9267cfb9d5a7be450ec3fd817856756370b4477b.tar.gz rspamd-9267cfb9d5a7be450ec3fd817856756370b4477b.zip |
Fix mistake cloaked by precompiled headers.
-rw-r--r-- | src/plugins/surbl.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 */ |