please lint.

git-svn-id: file:///svn/unbound/trunk@515 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2007-08-14 13:37:31 +00:00
parent 7d07e1b9c3
commit c49a3af953

View file

@ -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);
}