[master] eaac258 Kill one indentation

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Mar 14 16:54:04 CET 2016


commit eaac258d557132f3dfe496425b05dc821de32ab9
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Mon Mar 14 16:47:59 2016 +0100

    Kill one indentation

diff --git a/bin/varnishd/cache/cache_backend_probe.c b/bin/varnishd/cache/cache_backend_probe.c
index ea63abe..d1608db 100644
--- a/bin/varnishd/cache/cache_backend_probe.c
+++ b/bin/varnishd/cache/cache_backend_probe.c
@@ -271,8 +271,7 @@ vbp_poke(struct vbp_target *vt)
 		if (tmo > 0)
 			i = poll(pfd, 1, tmo);
 		if (i == 0 || tmo <= 0) {
-			if (i == 0)
-				vt->err_recv |= 1;
+			vt->err_recv |= (i == 0);
 			VTCP_close(&s);
 			return;
 		}



More information about the varnish-commit mailing list