From: phk Date: Mon, 29 Oct 2007 12:09:54 +0000 (+0000) Subject: Typo in previous commit. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a19ae486be308a10aab9228636ce229254f1b618;p=varnish Typo in previous commit. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2188 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- 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);