From b98c84788dc6bbef5106a0065af65c003d1262d2 Mon Sep 17 00:00:00 2001 From: Valtteri Koskivuori Date: Fri, 24 Nov 2023 00:10:24 +0200 Subject: [PATCH] Fix worker_start symbol not found on Windows build --- src/utils/protocol/worker.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils/protocol/worker.c b/src/utils/protocol/worker.c index 628f8c21..8f3b47df 100644 --- a/src/utils/protocol/worker.c +++ b/src/utils/protocol/worker.c @@ -489,7 +489,9 @@ int worker_start(int port, size_t thread_limit) { return 0; } #else -int startWorkerServer() { +int worker_start(int port, size_t thread_limit) { + (void)port; + (void)thread_limit; logr(error, "c-ray doesn't support the proprietary networking stack on Windows yet. Sorry!\n"); } #endif