[master] b045f92 nit-picking: we just checked for t1 == t0

Nils Goroll nils.goroll at uplex.de
Fri Apr 15 10:23:05 CEST 2016


commit b045f92903f0df0af6d64a5cbcaacf96cfa8a86a
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Fri Apr 15 10:19:56 2016 +0200

    nit-picking: we just checked for t1 == t0

diff --git a/bin/varnishd/cache/cache_ban.c b/bin/varnishd/cache/cache_ban.c
index 7494ee0..2565a68 100644
--- a/bin/varnishd/cache/cache_ban.c
+++ b/bin/varnishd/cache/cache_ban.c
@@ -264,7 +264,7 @@ BAN_FindBan(double t0)
 		t1 = ban_time(b->spec);
 		if (t1 == t0)
 			return (b);
-		if (t1 <= t0)
+		if (t1 < t0)
 			break;
 	}
 	return (NULL);



More information about the varnish-commit mailing list