From 51a3dbaa53ba7fbfc633be43ee510dbd236e8151 Mon Sep 17 00:00:00 2001 From: "Andreas J. Koenig" Date: Fri, 20 Mar 2009 08:59:57 +0100 Subject: [PATCH] simplify the "between" expression --- lib/File/Rsync/Mirror/Recentfile/Done.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/File/Rsync/Mirror/Recentfile/Done.pm b/lib/File/Rsync/Mirror/Recentfile/Done.pm index 98bd0d5..f676151 100644 --- a/lib/File/Rsync/Mirror/Recentfile/Done.pm +++ b/lib/File/Rsync/Mirror/Recentfile/Done.pm @@ -113,7 +113,7 @@ sub covered { } return 1 if $goodbound > 1; } else { - return 1 if $epoch_high eq $upper || $epoch_high eq $lower || (_bigfloatlt($epoch_high,$upper) && _bigfloatgt($epoch_high, $lower)); + return 1 if _bigfloatle($epoch_high,$upper) && _bigfloatge($epoch_high, $lower); # "between" } } return 0; -- 2.11.4.GIT