From c28624d75f9eafad310068efa27bfce215209eff Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 22 May 2007 10:20:57 +0000 Subject: [PATCH] Initialize storage modules magic element. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1462 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/storage_malloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/varnish-cache/bin/varnishd/storage_malloc.c b/varnish-cache/bin/varnishd/storage_malloc.c index 0ddd20ae..4417546f 100644 --- a/varnish-cache/bin/varnishd/storage_malloc.c +++ b/varnish-cache/bin/varnishd/storage_malloc.c @@ -55,6 +55,7 @@ sma_alloc(struct stevedore *st, size_t size) sma->s.space = size; sma->s.fd = -1; sma->s.stevedore = st; + sma->s.magic = STORAGE_MAGIC; return (&sma->s); } -- 2.39.5