From c49a3af953f71811c05d93f4064423a93dcdae06 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Tue, 14 Aug 2007 13:37:31 +0000 Subject: [PATCH] please lint. git-svn-id: file:///svn/unbound/trunk@515 be551aaa-1e26-0410-a405-d3ace91eadb9 --- services/cache/infra.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }