r4464 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Fri Jan 15 14:46:23 CET 2010


Author: phk
Date: 2010-01-15 14:46:23 +0100 (Fri, 15 Jan 2010)
New Revision: 4464

Modified:
   trunk/varnish-cache/bin/varnishd/mgt_vcc.c
Log:
Add necessary quoting.



Modified: trunk/varnish-cache/bin/varnishd/mgt_vcc.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_vcc.c	2010-01-15 13:23:22 UTC (rev 4463)
+++ trunk/varnish-cache/bin/varnishd/mgt_vcc.c	2010-01-15 13:46:23 UTC (rev 4464)
@@ -406,13 +406,13 @@
 
 	VTAILQ_FOREACH(vp, &vclhead, list) {
 		if (mgt_cli_askchild(status, p,
-		    "vcl.load %s %s\n", vp->name, vp->fname))
+		    "vcl.load \"%s\" %s\n", vp->name, vp->fname))
 			return (1);
 		free(*p);
 		if (!vp->active)
 			continue;
 		if (mgt_cli_askchild(status, p,
-		    "vcl.use %s\n", vp->name))
+		    "vcl.use \"%s\"\n", vp->name))
 			return (1);
 		free(*p);
 	}



More information about the varnish-commit mailing list