diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-02-13 19:09:27 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-02-13 19:09:27 +0400 |
commit | 0d64c808b7310b6e233ec570649fbb281a3f2b13 (patch) | |
tree | bec667c9c350cc53dcd05e7779988486778c64c9 /src/plugins/surbl.c | |
parent | b5f2b43a8d1fc3361dc1665c62b2a44d66c01474 (diff) | |
download | rspamd-0d64c808b7310b6e233ec570649fbb281a3f2b13.tar.gz rspamd-0d64c808b7310b6e233ec570649fbb281a3f2b13.zip |
Add quarks to events to determine source of event inside rspamd.
Another try to fix threading.
Diffstat (limited to 'src/plugins/surbl.c')
-rw-r--r-- | src/plugins/surbl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c index 6e4cad8ce..3c4c09363 100644 --- a/src/plugins/surbl.c +++ b/src/plugins/surbl.c @@ -939,7 +939,7 @@ register_redirector_call (struct uri *url, struct worker_task *task, timeout->tv_usec = (surbl_module_ctx->connect_timeout - timeout->tv_sec * 1000) * 1000; event_set (¶m->ev, s, EV_WRITE, redirector_callback, (void *)param); event_add (¶m->ev, timeout); - register_async_event (task->s, free_redirector_session, param, FALSE); + register_async_event (task->s, free_redirector_session, param, g_quark_from_static_string ("surbl")); msg_info ("<%s> registered redirector call for %s to %s, according to rule: %s", task->message_id, struri (url), selected->name, rule); |