diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-06-19 18:23:46 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-06-22 10:57:29 +0100 |
commit | dc96f9b37ff98c12b7aeacd348162950c129098f (patch) | |
tree | 22b6f950bd71a90b020cdd708de5d1bd7f3e1dde /src/rspamadm/control.c | |
parent | 63f823eb9d6b4cfed6c3014ab350dfc61f33cb28 (diff) | |
download | rspamd-dc96f9b37ff98c12b7aeacd348162950c129098f.tar.gz rspamd-dc96f9b37ff98c12b7aeacd348162950c129098f.zip |
[Project] Make it compileable again...
Diffstat (limited to 'src/rspamadm/control.c')
-rw-r--r-- | src/rspamadm/control.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rspamadm/control.c b/src/rspamadm/control.c index 754d874a2..0aa995abf 100644 --- a/src/rspamadm/control.c +++ b/src/rspamadm/control.c @@ -111,7 +111,6 @@ rspamd_control_finish_handler (struct rspamd_http_connection *conn, const gchar *body; gsize body_len; struct rspamadm_control_cbdata *cbdata = conn->ud; - struct timeval exit_tv; body = rspamd_http_message_get_body (msg, &body_len); parser = ucl_parser_new (0); @@ -157,9 +156,7 @@ rspamd_control_finish_handler (struct rspamd_http_connection *conn, } end: - exit_tv.tv_sec = 0; - exit_tv.tv_usec = 0; - event_base_loopexit (rspamd_main->event_loop, &exit_tv); + ev_break (rspamd_main->event_loop, EVBREAK_ALL); return 0; } |