summaryrefslogtreecommitdiffstats
path: root/src/plugins/surbl.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-09-12 17:29:15 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-09-12 17:29:15 +0100
commitc05c2b3b82b21c0cad3faf621a11ab9b250ec8e1 (patch)
tree8e67d1e24882ee2a9d2bc6b840ee69dd1e112d28 /src/plugins/surbl.c
parent52698bace7a7c18324f2adf5f1985d559330bab8 (diff)
downloadrspamd-c05c2b3b82b21c0cad3faf621a11ab9b250ec8e1.tar.gz
rspamd-c05c2b3b82b21c0cad3faf621a11ab9b250ec8e1.zip
[Fix] Fix more issues with watching of async events
Diffstat (limited to 'src/plugins/surbl.c')
-rw-r--r--src/plugins/surbl.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c
index 31c873304..9781c759e 100644
--- a/src/plugins/surbl.c
+++ b/src/plugins/surbl.c
@@ -1675,10 +1675,7 @@ register_redirector_call (struct rspamd_url *url, struct rspamd_task *task,
timeout = rspamd_mempool_alloc (task->task_pool, sizeof (struct timeval));
double_to_tv (surbl_module_ctx->read_timeout, timeout);
- rspamd_session_add_event (task->s,
- free_redirector_session,
- param,
- g_quark_from_static_string ("surbl"));
+ rspamd_session_add_event (task->s, NULL, free_redirector_session, param, g_quark_from_static_string ("surbl"));
rspamd_http_connection_write_message (param->conn, msg, NULL,
NULL, param, s, timeout, task->ev_base);