dovecot-1.2: dotlocks: Refresh current time after having waited ...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Jan 20 23:17:10 EET 2011
details: http://hg.dovecot.org/dovecot-1.2/rev/9a50a9dc905f
changeset: 9638:9a50a9dc905f
user: Timo Sirainen <tss at iki.fi>
date: Thu Jan 20 23:17:05 2011 +0200
description:
dotlocks: Refresh current time after having waited for a lock.
diffstat:
src/lib/file-dotlock.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 84373d238073 -r 9a50a9dc905f src/lib/file-dotlock.c
--- a/src/lib/file-dotlock.c Mon Dec 13 13:40:27 2010 +0000
+++ b/src/lib/file-dotlock.c Thu Jan 20 23:17:05 2011 +0200
@@ -507,6 +507,7 @@
lock_info.wait_usecs += lock_info.wait_usecs/2;
}
dotlock_wait(&lock_info);
+ now = time(NULL);
do_wait = FALSE;
}
More information about the dovecot-cvs
mailing list