aboutsummaryrefslogtreecommitdiffstats
path: root/src/worker.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-01-01 11:02:29 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-01-01 11:02:29 +0000
commit2270056a52964f3582f46e87c89b7564d26c833e (patch)
treeb53ad9c5f83946d28642a3bccd6f80e639328619 /src/worker.c
parentf227be52b2087e105491fb6b9337df084f84417f (diff)
downloadrspamd-2270056a52964f3582f46e87c89b7564d26c833e.tar.gz
rspamd-2270056a52964f3582f46e87c89b7564d26c833e.zip
[Minor] Remove unused stuff
Diffstat (limited to 'src/worker.c')
-rw-r--r--src/worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c
index ac8f87af5..4284e0b1b 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -167,7 +167,7 @@ rspamd_worker_body_handler (struct rspamd_http_connection *conn,
/* Set up async session */
task->s = rspamd_session_create (task->task_pool, rspamd_task_fin,
- rspamd_task_restore, (event_finalizer_t )rspamd_task_free, task);
+ NULL, (event_finalizer_t )rspamd_task_free, task);
if (!rspamd_protocol_handle_request (task, msg)) {
msg_err_task ("cannot handle request: %e", task->err);