From 9daf6a0e6b461c6c2a16f810f722b9d10504bf90 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Wed, 10 Jun 2020 13:28:41 +0200 Subject: Introduce a common task buffer and convert cfgdir and rcon to use it --- server.c | 1 + 1 file changed, 1 insertion(+) (limited to 'server.c') diff --git a/server.c b/server.c index ee93a24..4102d99 100644 --- a/server.c +++ b/server.c @@ -695,6 +695,7 @@ server_new(struct cfg *cfg, const char *name) scfg->stop_method = SERVER_STOP_METHOD_UNDEFINED; scfg->start_method = SERVER_START_METHOD_UNDEFINED; uring_task_init(&scfg->task, "scfg", uring_parent(cfg), server_free); + uring_task_set_buf(&scfg->task, &scfg->tbuf); uring_task_init(&scfg->exec_task, "exec", &scfg->task, server_exec_free); list_init(&scfg->remotes); list_init(&scfg->locals); -- cgit v1.2.3