r5569 - trunk/varnish-cache/bin/varnishd

phk at varnish-cache.org phk at varnish-cache.org
Sun Nov 21 10:54:15 CET 2010


Author: phk
Date: 2010-11-21 10:54:15 +0100 (Sun, 21 Nov 2010)
New Revision: 5569

Modified:
   trunk/varnish-cache/bin/varnishd/storage_persistent.c
Log:
Check sp->objcore instead of sp->objhead



Modified: trunk/varnish-cache/bin/varnishd/storage_persistent.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/storage_persistent.c	2010-11-21 09:48:57 UTC (rev 5568)
+++ trunk/varnish-cache/bin/varnishd/storage_persistent.c	2010-11-21 09:54:15 UTC (rev 5569)
@@ -1418,7 +1418,7 @@
 	CAST_OBJ_NOTNULL(sc, stv->priv, SMP_SC_MAGIC);
 
 	/* XXX: temporary sanity */
-	AN(sp->objhead);
+	AN(sp->objcore);
 	AN(sp->wrk->cacheable);
 
 	sg = NULL;




More information about the varnish-commit mailing list