From: Wouter Wijngaards Date: Tue, 14 Aug 2007 13:37:31 +0000 (+0000) Subject: please lint. X-Git-Tag: release-0.5~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c49a3af953f71811c05d93f4064423a93dcdae06;p=thirdparty%2Funbound.git please lint. git-svn-id: file:///svn/unbound/trunk@515 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/services/cache/infra.c b/services/cache/infra.c index 8cdaebfbc..6b2d5cea5 100644 --- a/services/cache/infra.c +++ b/services/cache/infra.c @@ -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); }