mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-03 20:29:28 -05:00
please lint.
git-svn-id: file:///svn/unbound/trunk@515 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
7d07e1b9c3
commit
c49a3af953
1 changed files with 2 additions and 2 deletions
4
services/cache/infra.c
vendored
4
services/cache/infra.c
vendored
|
|
@ -53,7 +53,7 @@ static size_t
|
|||
infra_host_sizefunc(void* k, void* ATTR_UNUSED(d))
|
||||
{
|
||||
struct infra_host_key* key = (struct infra_host_key*)k;
|
||||
return sizeof(struct infra_host_key) + sizeof(struct infra_host_data)
|
||||
return sizeof(*key) + sizeof(struct infra_host_data)
|
||||
+ lock_get_mem(&key->entry.lock);
|
||||
}
|
||||
|
||||
|
|
@ -296,7 +296,7 @@ static size_t
|
|||
infra_lame_sizefunc(void* k, void* ATTR_UNUSED(d))
|
||||
{
|
||||
struct infra_lame_key* key = (struct infra_lame_key*)k;
|
||||
return sizeof(struct infra_lame_key)+sizeof(struct infra_lame_data)
|
||||
return sizeof(*key) + sizeof(struct infra_lame_data)
|
||||
+ lock_get_mem(&key->entry.lock);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue