aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/worker_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker_queue.c b/src/worker_queue.c
index 9154e24..fd449c1 100644
--- a/src/worker_queue.c
+++ b/src/worker_queue.c
@@ -75,7 +75,7 @@ void worker_queue_add_first(struct worker_queue *queue, struct worker *entry)
void worker_queue_add_last(struct worker_queue *queue, struct worker *entry)
{
- SIMPLEQ_INSERT_HEAD(queue, entry, entries);
+ SIMPLEQ_INSERT_TAIL(queue, entry, entries);
}
struct worker *worker_queue_remove_first(struct worker_queue *queue)