mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-08-28 10:50:05 +02:00
Fixes.
git-svn-id: file:///svn/unbound/trunk@330 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
@@ -526,7 +526,7 @@ static int test_compfunc(void* key1, void* key2)
|
||||
|
||||
static void test_delkey(void* key, void* ATTR_UNUSED(arg), int l)
|
||||
{
|
||||
if(l) lock_rw_unlock(&((struct testkey*)key)->entry.lock);
|
||||
if(l) { lock_rw_unlock(&((struct testkey*)key)->entry.lock); }
|
||||
delkey((struct testkey*)key);
|
||||
}
|
||||
|
||||
|
||||
@@ -406,7 +406,7 @@ static int test_compfunc(void* key1, void* key2)
|
||||
|
||||
static void test_delkey(void* key, void* ATTR_UNUSED(arg), int l)
|
||||
{
|
||||
if(l) lock_rw_unlock(&((struct slabtestkey*)key)->entry.lock);
|
||||
if(l) { lock_rw_unlock(&((struct slabtestkey*)key)->entry.lock); }
|
||||
delkey((struct slabtestkey*)key);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user