From: phk Date: Tue, 22 May 2007 10:20:57 +0000 (+0000) Subject: Initialize storage modules magic element. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c28624d75f9eafad310068efa27bfce215209eff;p=varnish Initialize storage modules magic element. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1462 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- 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); }