1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-11-03 04:17:17 -05:00

Cleanup: Improved code flow

This commit is contained in:
Philipp Schafft 2022-03-25 11:58:59 +00:00
parent 2955454dec
commit 13a58cb49e

View File

@ -715,11 +715,12 @@ static void * process_request_queue (client_queue_t *queue)
client_queue_check_ready_wait(queue, QUEUE_READY_TIMEOUT, timeout);
while ((node = client_queue_shift_ready(queue, stop))) {
if (!process_request_queue_one(node, timeout)) {
client_queue_add(queue, node);
if (!stop)
stop = node;
}
if (process_request_queue_one(node, timeout))
continue;
client_queue_add(queue, node);
if (!stop)
stop = node;
}
}