diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-06-20 15:07:58 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-06-22 10:57:29 +0100 |
commit | eafdd221037b41ddcba0add79fd8efccecaf0775 (patch) | |
tree | e66add9878fad4934f952e422308d8a2f836fdb7 /src/libserver/rspamd_control.c | |
parent | f5a7eddda980f8d6f2e0aaeca46ed4bd6f0f34b4 (diff) | |
download | rspamd-eafdd221037b41ddcba0add79fd8efccecaf0775.tar.gz rspamd-eafdd221037b41ddcba0add79fd8efccecaf0775.zip |
[Minor] Try to fix more issues
Diffstat (limited to 'src/libserver/rspamd_control.c')
-rw-r--r-- | src/libserver/rspamd_control.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/rspamd_control.c b/src/libserver/rspamd_control.c index 62ca24643..1d161f6bc 100644 --- a/src/libserver/rspamd_control.c +++ b/src/libserver/rspamd_control.c @@ -727,7 +727,7 @@ rspamd_control_hs_io_handler (int fd, short what, void *ud) /* At this point we just ignore replies from the workers */ (void)read (fd, &rep, sizeof (rep)); - rspamd_ev_watcher_stop (ev_default_loop (0), &elt->ev); + rspamd_ev_watcher_stop (elt->wrk->srv->event_loop, &elt->ev); g_free (elt); } @@ -740,7 +740,7 @@ rspamd_control_log_pipe_io_handler (int fd, short what, void *ud) /* At this point we just ignore replies from the workers */ (void) read (fd, &rep, sizeof (rep)); - rspamd_ev_watcher_stop (ev_default_loop (0), &elt->ev); + rspamd_ev_watcher_stop (elt->wrk->srv->event_loop, &elt->ev); g_free (elt); } |