r1462 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Tue May 22 12:20:57 CEST 2007


Author: phk
Date: 2007-05-22 12:20:57 +0200 (Tue, 22 May 2007)
New Revision: 1462

Modified:
   trunk/varnish-cache/bin/varnishd/storage_malloc.c
Log:
Initialize storage modules magic element.


Modified: trunk/varnish-cache/bin/varnishd/storage_malloc.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/storage_malloc.c	2007-05-21 04:57:09 UTC (rev 1461)
+++ trunk/varnish-cache/bin/varnishd/storage_malloc.c	2007-05-22 10:20:57 UTC (rev 1462)
@@ -55,6 +55,7 @@
 	sma->s.space = size;
 	sma->s.fd = -1;
 	sma->s.stevedore = st;
+	sma->s.magic = STORAGE_MAGIC;
 	return (&sma->s);
 }
 




More information about the varnish-commit mailing list