r1799 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Sun Aug 5 22:47:16 CEST 2007


Author: phk
Date: 2007-08-05 22:47:16 +0200 (Sun, 05 Aug 2007)
New Revision: 1799

Modified:
   trunk/varnish-cache/bin/varnishd/stevedore.c
Log:
Add missing assert


Modified: trunk/varnish-cache/bin/varnishd/stevedore.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/stevedore.c	2007-08-05 20:26:09 UTC (rev 1798)
+++ trunk/varnish-cache/bin/varnishd/stevedore.c	2007-08-05 20:47:16 UTC (rev 1799)
@@ -112,6 +112,7 @@
 	xxxassert(q != NULL);
 
 	stv = malloc(sizeof *stv);
+	AN(stv);
 
 	if (!cmp_storage(&sma_stevedore, spec, p)) {
 		*stv = sma_stevedore;




More information about the varnish-commit mailing list