aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-10-25 13:58:09 +0200
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-10-25 13:58:34 +0200
commit8ee425e85963a1fcb1c38f516c51fc3ac98c0528 (patch)
treeccbe65bdc7407987a0b66be5ee2153b7f468bfad /src/controller.c
parente3788b3fbf3b4ec6c07ac41676148a22edb908e4 (diff)
downloadrspamd-8ee425e85963a1fcb1c38f516c51fc3ac98c0528.tar.gz
rspamd-8ee425e85963a1fcb1c38f516c51fc3ac98c0528.zip
[Fix] Fix on_finish scripts and async handlers
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c
index 65b40ca5a..6375c844b 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -2930,7 +2930,7 @@ lua_csession_send_string (lua_State *L)
return 0;
}
-static void
+static gboolean
rspamd_controller_on_terminate (struct rspamd_worker *worker)
{
struct rspamd_controller_worker_ctx *ctx = worker->ctx;
@@ -2942,6 +2942,8 @@ rspamd_controller_on_terminate (struct rspamd_worker *worker)
event_del (ctx->rrd_event);
rspamd_rrd_close (ctx->rrd);
}
+
+ return FALSE;
}
/*