[3.0] f9c460c ifdef offsetoff output in debug.sizeof

Tollef Fog Heen tfheen at varnish-cache.org
Wed Aug 17 11:25:23 CEST 2011


commit f9c460c4e69398fa2fc2b78b4c0520bf173f0e48
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