[master] 415ed78f5 FlexeLinting.

Poul-Henning Kamp phk at FreeBSD.org
Wed Nov 3 10:23:07 UTC 2021


commit 415ed78f506465bf3d2801d82b7c50b57f736bfd
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Nov 3 10:21:18 2021 +0000

    FlexeLinting.

diff --git a/vmod/vmod_debug.c b/vmod/vmod_debug.c
index 07f1039af..266d194f0 100644
--- a/vmod/vmod_debug.c
+++ b/vmod/vmod_debug.c
@@ -517,9 +517,10 @@ event_warm(VRT_CTX, const struct vmod_priv *priv)
 {
 	struct priv_vcl *priv_vcl;
 	char buf[32];
+	const char *vcl_name = VCL_Name(ctx->vcl);
 
 	// Using VSLs for coverage
-	VSLs(SLT_Debug, 0, TOSTRANDS(2, VCL_Name(ctx->vcl), ": VCL_EVENT_WARM"));
+	VSLs(SLT_Debug, 0, TOSTRANDS(2, vcl_name, ": VCL_EVENT_WARM"));
 
 	AN(ctx->msg);
 	if (cache_param->max_esi_depth == 42) {


More information about the varnish-commit mailing list