Mercurial > dovecot > core-2.2
changeset 13551:df74f0052707
file_dotlock: And fix to previous change..
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 23 Sep 2011 15:01:57 +0300 |
parents | fecd095394b6 |
children | 67a545272b3f |
files | src/lib/file-dotlock.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib/file-dotlock.c Fri Sep 23 15:01:23 2011 +0300 +++ b/src/lib/file-dotlock.c Fri Sep 23 15:01:57 2011 +0300 @@ -713,7 +713,7 @@ /* with NFS t1 may have been looked up from local cache. allow it to be a little bit different. */ diff = t1 > t2 ? t1-t2 : t2-t1; - return diff <= FILE_DOTLOCK_MAX_STAT_MTIME_DIFF; + return diff > FILE_DOTLOCK_MAX_STAT_MTIME_DIFF; } int file_dotlock_delete(struct dotlock **dotlock_p)