r236 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Mon Jun 26 18:19:14 CEST 2006
Author: phk
Date: 2006-06-26 18:19:14 +0200 (Mon, 26 Jun 2006)
New Revision: 236
Modified:
trunk/varnish-cache/bin/varnishd/storage_malloc.c
Log:
Make this work again: record the stevedore in the storage object.
Modified: trunk/varnish-cache/bin/varnishd/storage_malloc.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/storage_malloc.c 2006-06-26 14:33:49 UTC (rev 235)
+++ trunk/varnish-cache/bin/varnishd/storage_malloc.c 2006-06-26 16:19:14 UTC (rev 236)
@@ -16,7 +16,7 @@
};
static struct storage *
-sma_alloc(struct stevedore *st __unused, unsigned size)
+sma_alloc(struct stevedore *st, unsigned size)
{
struct sma *sma;
@@ -27,6 +27,7 @@
assert(sma->s.ptr != NULL);
sma->s.len = size;
sma->s.space = size;
+ sma->s.stevedore = st;
return (&sma->s);
}
More information about the varnish-commit
mailing list