summaryrefslogtreecommitdiffstats
path: root/src/worker.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/worker.c')
-rw-r--r--src/worker.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c
index fc1d7a904..15b8ec62f 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -382,7 +382,7 @@ rspamd_worker_error_handler (struct rspamd_http_connection *conn, GError *err)
}
}
-static void
+static gint
rspamd_worker_finish_handler (struct rspamd_http_connection *conn,
struct rspamd_http_message *msg)
{
@@ -400,6 +400,8 @@ rspamd_worker_finish_handler (struct rspamd_http_connection *conn,
task->s->wanna_die = TRUE;
check_session_pending (task->s);
}
+
+ return 0;
}
/*