From a19ae486be308a10aab9228636ce229254f1b618 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 29 Oct 2007 12:09:54 +0000 Subject: [PATCH] Typo in previous commit. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2188 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishd/cache_hash.c b/varnish-cache/bin/varnishd/cache_hash.c index c93a38b8..1abc65b8 100644 --- a/varnish-cache/bin/varnishd/cache_hash.c +++ b/varnish-cache/bin/varnishd/cache_hash.c @@ -88,7 +88,7 @@ HSH_Prealloc(struct sess *sp) if (w->nobj == NULL) { st = STV_alloc(sp, params->mem_workspace); XXXAN(st); - assert(st->size > sizeof *w->nobj); + assert(st->space > sizeof *w->nobj); w->nobj = (void *)st->ptr; /* XXX: align ? */ st->len = sizeof *w->nobj; memset(w->nobj, 0, sizeof *w->nobj); -- 2.39.5