aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-20 10:28:23 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-22 10:57:29 +0100
commitf133f139d57eff6d5c8ffe57687703620a388e28 (patch)
treef9d07c887e1cf462df10bf5f4e395fc5bacb051d /src/rspamd.c
parentdc96f9b37ff98c12b7aeacd348162950c129098f (diff)
downloadrspamd-f133f139d57eff6d5c8ffe57687703620a388e28.tar.gz
rspamd-f133f139d57eff6d5c8ffe57687703620a388e28.zip
[Minor] Fix some missing userdata
Diffstat (limited to 'src/rspamd.c')
-rw-r--r--src/rspamd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rspamd.c b/src/rspamd.c
index 813b7b7bb..765b4bd2b 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -391,6 +391,7 @@ rspamd_fork_delayed (struct rspamd_worker_conf *cf,
tv.tv_sec = SOFT_FORK_TIME;
tv.tv_usec = 0;
REF_RETAIN (cf);
+ nw->wait_ev.data = nw;
ev_timer_init (&nw->wait_ev, rspamd_fork_delayed_cb, SOFT_FORK_TIME, 0.0);
ev_timer_start (rspamd_main->event_loop, &nw->wait_ev);
}