[PATCH] Set the split character back to '=' after applying the runtime parameter to preserve the arguments as seen e.g. ps.

Martin Blix Grydeland martin at varnish-software.com
Thu Dec 13 13:16:45 CET 2012


Fixes: #1238
---
 bin/varnishd/mgt/mgt_main.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/varnishd/mgt/mgt_main.c b/bin/varnishd/mgt/mgt_main.c
index fe6e489..2b3c709 100644
--- a/bin/varnishd/mgt/mgt_main.c
+++ b/bin/varnishd/mgt/mgt_main.c
@@ -465,6 +465,7 @@ main(int argc, char * const *argv)
 			AN(p);
 			*p++ = '\0';
 			MCF_ParamSet(cli, optarg, p);
+			*--p = '=';
 			cli_check(cli);
 			break;
 		case 'r':
-- 
1.7.10.4




More information about the varnish-dev mailing list