]> err.no Git - varnish/commitdiff
Typo in previous commit.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 29 Oct 2007 12:09:54 +0000 (12:09 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 29 Oct 2007 12:09:54 +0000 (12:09 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2188 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_hash.c

index c93a38b8b450703e3bab5b44b8357068d20cbf7c..1abc65b8dd84d05214417e6a3d297331d05a2687 100644 (file)
@@ -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);