Mailing List Archive

[master] 415ed78f5 FlexeLinting.
commit 415ed78f506465bf3d2801d82b7c50b57f736bfd
Author: Poul-Henning Kamp <phk@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) {
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit