dovecot-2.0: dotlocks: Refresh current time after having waited ...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Jan 20 23:16:28 EET 2011
details: http://hg.dovecot.org/dovecot-2.0/rev/5a3c87124066
changeset: 12571:5a3c87124066
user: Timo Sirainen <tss at iki.fi>
date: Thu Jan 20 23:16:23 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 0fc2d00f83df -r 5a3c87124066 src/lib/file-dotlock.c
--- a/src/lib/file-dotlock.c Thu Jan 20 23:09:44 2011 +0200
+++ b/src/lib/file-dotlock.c Thu Jan 20 23:16:23 2011 +0200
@@ -506,6 +506,7 @@
lock_info.wait_usecs += lock_info.wait_usecs/2;
}
dotlock_wait(&lock_info);
+ now = time(NULL);
}
ret = check_lock(now, &lock_info);
More information about the dovecot-cvs
mailing list