diff options
-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 */ |