[master] 370ca28c3 param: We have a generic string tweak

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Tue Dec 14 14:45:07 UTC 2021


commit 370ca28c36b7271ead7b23609f4b3de929a4a842
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Tue Dec 14 15:41:56 2021 +0100

    param: We have a generic string tweak
    
    I checked the git history to understand this comment.

diff --git a/bin/varnishd/mgt/mgt_param_tweak.c b/bin/varnishd/mgt/mgt_param_tweak.c
index 526fcf64e..a385263c6 100644
--- a/bin/varnishd/mgt/mgt_param_tweak.c
+++ b/bin/varnishd/mgt/mgt_param_tweak.c
@@ -378,7 +378,6 @@ tweak_string(struct vsb *vsb, const struct parspec *par, const char *arg)
 	char **p = TRUST_ME(par->priv);
 
 	AN(p);
-	/* XXX should have tweak_generic_string */
 	if (arg == NULL) {
 		VSB_quote(vsb, *p, -1, 0);
 	} else if (arg == JSON_FMT) {


More information about the varnish-commit mailing list