From ea9c9a1766f1ce716c359fc04628855293fcffbd Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sat, 24 Oct 2026 15:49:28 +0200 Subject: Fix: Swap compare size and membersize for binary search. Did not break anything, since they were identical --- ot_accesslist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ot_accesslist.c') diff --git a/ot_accesslist.c b/ot_accesslist.c index 24b334c..9163ea9 100644 --- a/ot_accesslist.c +++ b/ot_accesslist.c @@ -339,7 +339,7 @@ static void *accesslist_adddel_worker(char *fifoname, ot_accesslist *_Atomic } } else { int exactmatch = 0; - ot_hash *insert_point = binary_search(info_hash, (*adding_to)->list, (*adding_to)->size, OT_HASH_COMPARE_SIZE, sizeof(ot_hash), &exactmatch); + ot_hash *insert_point = binary_search(info_hash, (*adding_to)->list, (*adding_to)->size, sizeof(ot_hash), OT_HASH_COMPARE_SIZE, &exactmatch); /* Only if the info hash is not in the adding_to list, create a new head with that entry */ if (!exactmatch) { -- cgit v1.3