dovecot-1.2: dotlocking: Don't generate "Will override dotlock i...
dovecot at dovecot.org
dovecot at dovecot.org
Fri May 1 20:01:14 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/89b825b20f76
changeset: 9002:89b825b20f76
user: Timo Sirainen <tss at iki.fi>
date: Fri May 01 13:01:09 2009 -0400
description:
dotlocking: Don't generate "Will override dotlock in 0 secs" messages.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/lib/file-dotlock.c | 2 +-
diffs (12 lines):
diff -r 5302ce189a70 -r 89b825b20f76 src/lib/file-dotlock.c
--- a/src/lib/file-dotlock.c Fri May 01 12:30:07 2009 -0400
+++ b/src/lib/file-dotlock.c Fri May 01 13:01:09 2009 -0400
@@ -535,7 +535,7 @@ dotlock_create(struct dotlock *dotlock,
/* we don't want to override */
lock_info.last_change = now;
}
- } else {
+ } else if (wait_left > 0) {
(void)set->callback(wait_left, FALSE,
set->context);
}
More information about the dovecot-cvs
mailing list