[master] 052a1ef1b Polish cstyle

Nils Goroll nils.goroll at uplex.de
Mon Sep 30 15:13:05 UTC 2024


commit 052a1ef1b69639fddaf4e4201f42d787aaef4f34
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Sep 30 17:11:11 2024 +0200

    Polish cstyle

diff --git a/bin/varnishd/waiter/cache_waiter_epoll.c b/bin/varnishd/waiter/cache_waiter_epoll.c
index fb33c1199..1a5303221 100644
--- a/bin/varnishd/waiter/cache_waiter_epoll.c
+++ b/bin/varnishd/waiter/cache_waiter_epoll.c
@@ -133,7 +133,7 @@ vwe_thread(void *priv)
 			Lck_Lock(&vwe->mtx);
 			active = Wait_HeapDelete(w, wp);
 			Lck_Unlock(&vwe->mtx);
-			if (!active) {
+			if (active == 0) {
 				VSL(SLT_Debug, NO_VXID,
 				    "epoll: spurious event (%d)", wp->fd);
 				continue;


More information about the varnish-commit mailing list