[master] 749b6d6 ifdef offsetoff output in debug.sizeof

Poul-Henning Kamp phk at varnish-cache.org
Mon Jun 20 11:28:57 CEST 2011


commit 749b6d683871778c36c874a5e0b2515a3530b405
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Jun 20 09:28:41 2011 +0000

    ifdef offsetoff output in debug.sizeof

diff --git a/bin/varnishd/cache_cli.c b/bin/varnishd/cache_cli.c
index 2d3066c..60e63bf 100644
--- a/bin/varnishd/cache_cli.c
+++ b/bin/varnishd/cache_cli.c
@@ -175,6 +175,7 @@ cli_debug_sizeof(struct cli *cli, const char * const *av, void *priv)
 	OFOF(struct storage, len);
 	OFOF(struct storage, space);
 #endif
+#if 0
 	OFOF(struct object, magic);
 	OFOF(struct object, xid);
 	OFOF(struct object, objstore);
@@ -197,6 +198,7 @@ cli_debug_sizeof(struct cli *cli, const char * const *av, void *priv)
 	OFOF(struct object, store);
 	OFOF(struct object, esidata);
 	OFOF(struct object, last_use);
+#endif
 }
 
 /*--------------------------------------------------------------------*/



More information about the varnish-commit mailing list