Mailing List Archive

[master] 692be7e7e Flexelinting
commit 692be7e7e4dc2c671990025b3cd3154b1de9cc57
Author: Poul-Henning Kamp <phk@FreeBSD.org>
Date: Tue Jan 4 07:03:10 2022 +0000

Flexelinting

diff --git a/bin/varnishtest/vtc_logexp.c b/bin/varnishtest/vtc_logexp.c
index ac8c7bdf2..ff727b4fc 100644
--- a/bin/varnishtest/vtc_logexp.c
+++ b/bin/varnishtest/vtc_logexp.c
@@ -410,14 +410,16 @@ logexp_match(const struct logexp *le, struct logexp_test *test,
fail = 1;

if (fail) {
- if (ok)
+ if (ok) {
legend = "fail";
- else if (skip)
- legend = "end", skip = 0;
- else if (le->m_arg)
+ } else if (skip) {
+ legend = "end";
+ skip = 0;
+ } else if (le->m_arg) {
legend = "fmiss";
- else
+ } else {
legend = NULL;
+ }
}
else if (ok)
legend = "match";
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit