diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-26 14:00:03 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-26 14:00:03 +0100 |
commit | f1e2f1acd45ffc6ae8f79bbba23d4734e588898f (patch) | |
tree | ecbecaa5f103192933407a24d3668a39a0744545 /src/libstat | |
parent | 537492c40116a8f38c209f7b36dacd0562504b44 (diff) | |
download | rspamd-f1e2f1acd45ffc6ae8f79bbba23d4734e588898f.tar.gz rspamd-f1e2f1acd45ffc6ae8f79bbba23d4734e588898f.zip |
Refactor events API.
Diffstat (limited to 'src/libstat')
-rw-r--r-- | src/libstat/backends/redis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstat/backends/redis.c b/src/libstat/backends/redis.c index 070924689..deb2ea84d 100644 --- a/src/libstat/backends/redis.c +++ b/src/libstat/backends/redis.c @@ -417,7 +417,7 @@ rspamd_redis_runtime (struct rspamd_task *task, g_assert (rt->redis != NULL); redisLibeventAttach (rt->redis, task->ev_base); - register_async_event (task->s, rspamd_redis_fin, rt, + rspamd_session_add_event (task->s, rspamd_redis_fin, rt, rspamd_redis_stat_quark ()); return rt; |