Commit 65621576 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Initialize storage modules magic element.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1462 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 2785fb6e
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment