[master] 906955836 remove wrong comment

Nils Goroll nils.goroll at uplex.de
Tue Jan 21 16:40:08 UTC 2020


commit 9069558365f42943a186271424f2929b69461708
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Tue Jan 21 15:35:11 2020 +0100

    remove wrong comment
    
    it is the true (1) argument to VCL_Get_CliCtx which creates the msg vsb.

diff --git a/bin/varnishd/cache/cache_vcl.c b/bin/varnishd/cache/cache_vcl.c
index 3299fd06c..39dd7e112 100644
--- a/bin/varnishd/cache/cache_vcl.c
+++ b/bin/varnishd/cache/cache_vcl.c
@@ -778,7 +778,7 @@ vcl_cli_state(struct cli *cli, const char * const *av, void *priv)
 	AN(av[3]);
 	ctx = VCL_Get_CliCtx(1);
 	ctx->vcl = vcl_find(av[2]);
-	AN(ctx->vcl);			// MGT ensures this
+	AN(ctx->vcl);
 	if (vcl_set_state(ctx, av[3])) {
 		AZ(VSB_finish(ctx->msg));
 		VCLI_SetResult(cli, CLIS_CANT);


More information about the varnish-commit mailing list