r1380 - trunk/varnish-cache/bin/varnishd

des at projects.linpro.no des at projects.linpro.no
Thu May 3 10:48:51 CEST 2007


Author: des
Date: 2007-05-03 10:48:51 +0200 (Thu, 03 May 2007)
New Revision: 1380

Modified:
   trunk/varnish-cache/bin/varnishd/mgt_param.c
Log:
s/expl/explicit/ to circumvent a bug in gcc 3.


Modified: trunk/varnish-cache/bin/varnishd/mgt_param.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_param.c	2007-05-03 08:48:43 UTC (rev 1379)
+++ trunk/varnish-cache/bin/varnishd/mgt_param.c	2007-05-03 08:48:51 UTC (rev 1380)
@@ -50,7 +50,7 @@
 struct parspec {
 	const char	*name;
 	tweak_t		*func;
-	const char	*expl;
+	const char	*descr;
 	const char	*def;
 	const char	*units;
 };
@@ -617,7 +617,7 @@
 		if (av[2] != NULL) {
 			cli_out(cli, "%-20s Default is %s\n", "", pp->def);
 			/* Format text to 72 col width */
-			for (p = pp->expl; *p != '\0'; ) {
+			for (p = pp->descr; *p != '\0'; ) {
 				q = strchr(p, '\n');
 				if (q == NULL)
 					q = strchr(p, '\0');




More information about the varnish-commit mailing list