[master] 692be7e7e Flexelinting
Poul-Henning Kamp
phk at FreeBSD.org
Tue Jan 4 07:10:05 UTC 2022
commit 692be7e7e4dc2c671990025b3cd3154b1de9cc57
Author: Poul-Henning Kamp <phk at 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";
More information about the varnish-commit
mailing list