r2188 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Mon Oct 29 13:09:54 CET 2007


Author: phk
Date: 2007-10-29 13:09:54 +0100 (Mon, 29 Oct 2007)
New Revision: 2188

Modified:
   trunk/varnish-cache/bin/varnishd/cache_hash.c
Log:
Typo in previous commit.


Modified: trunk/varnish-cache/bin/varnishd/cache_hash.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_hash.c	2007-10-29 12:06:34 UTC (rev 2187)
+++ trunk/varnish-cache/bin/varnishd/cache_hash.c	2007-10-29 12:09:54 UTC (rev 2188)
@@ -88,7 +88,7 @@
 	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);




More information about the varnish-commit mailing list