mirror of
git://erdgeist.org/opentracker
synced 2025-07-23 17:05:20 +02:00
Make accesslists work again by testing the actual result of bsearch. Thanks to Hanno
This commit is contained in:
parent
3168071175
commit
298fe52f52
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ int accesslist_hashisvalid( ot_hash hash ) {
|
|||
void * exactmatch = NULL;
|
||||
|
||||
if (accesslist)
|
||||
bsearch( hash, accesslist->list, accesslist->size, OT_HASH_COMPARE_SIZE, vector_compare_hash );
|
||||
exactmatch = bsearch( hash, accesslist->list, accesslist->size, OT_HASH_COMPARE_SIZE, vector_compare_hash );
|
||||
|
||||
#ifdef WANT_ACCESSLIST_BLACK
|
||||
return exactmatch == NULL;
|
||||
|
|
Loading…
Add table
Reference in a new issue