From fd1af1a4acf7249cc1807e2f6c68d5659d847dc7 Mon Sep 17 00:00:00 2001 From: "Steven M. Cohen" Date: Thu, 19 May 2005 07:58:54 +0000 Subject: [PATCH] fix bug 34941 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278293 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java b/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java index 5afbb155e..2412021ce 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java @@ -1722,9 +1722,9 @@ public class FTP long localTimestamp = localFile.lastModified(); if (this.action == SEND_FILES) { - return remoteTimestamp + timeDiffMillis > localTimestamp; + return remoteTimestamp + timeDiffMillis >= localTimestamp; } else { - return localTimestamp > remoteTimestamp + timeDiffMillis; + return localTimestamp >= remoteTimestamp + timeDiffMillis; } }