[master] 1a989e2 make strings be strings even inside the #if 0 region

Nils Goroll nils.goroll at uplex.de
Mon Nov 14 10:20:05 CET 2016


commit 1a989e21eede0df420ffa6162fd15979a68ba82a
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Tue Nov 1 07:54:09 2016 +0100

    make strings be strings even inside the #if 0 region

diff --git a/include/tbl/params.h b/include/tbl/params.h
index d40aedd..7854f46 100644
--- a/include/tbl/params.h
+++ b/include/tbl/params.h
@@ -1409,7 +1409,7 @@ PARAM(
 	/* typ */	string,
 	/* min */	NULL,
 	/* max */	NULL,
-	/* default */	/opt/varnish/etc/varnish,
+	/* default */	"/opt/varnish/etc/varnish",
 	/* units */	NULL,
 	/* flags */	0,
 	/* s-text */
@@ -1425,7 +1425,7 @@ PARAM(
 	/* typ */	string,
 	/* min */	NULL,
 	/* max */	NULL,
-	/* default */	/opt/varnish/lib/varnish/vmods,
+	/* default */	"/opt/varnish/lib/varnish/vmods",
 	/* units */	NULL,
 	/* flags */	0,
 	/* s-text */
@@ -1530,7 +1530,7 @@ PARAM(
 	/* typ */	waiter,
 	/* min */	NULL,
 	/* max */	NULL,
-	/* default */	kqueue (possible values: kqueue, poll),
+	/* default */	"kqueue (possible values: kqueue, poll)",
 	/* units */	NULL,
 	/* flags */	MUST_RESTART| WIZARD,
 	/* s-text */



More information about the varnish-commit mailing list