From 5b25f89d00433f1c11576d1ea19304797dc60d1b Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sat, 31 Oct 2026 18:48:00 +0100 Subject: Refactor ot_workqueue out of ot_mutex, no behaviour change --- opentracker.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'opentracker.c') diff --git a/opentracker.c b/opentracker.c index 6e073e9..2f2746d 100644 --- a/opentracker.c +++ b/opentracker.c @@ -29,6 +29,7 @@ #include "ot_ip.h" #include "ot_livesync.h" #include "ot_mutex.h" +#include "ot_workqueue.h" #include "ot_random.h" #include "ot_scan.h" #include "ot_event.h" @@ -148,7 +149,7 @@ static void *server_mainloop(void *args) { } } - while ((sock = mutex_workqueue_popresult(&iovec_entries, &iovector, &is_partial)) != -1) + while ((sock = workqueue_popresult(&iovec_entries, &iovector, &is_partial)) != -1) http_sendiovecdata(sock, &ws, iovec_entries, iovector, is_partial); if (time_now_seconds() > next_timeout_check) { -- cgit v1.3