dovecot-2.2: lib-storage: context's dotlock_last_stale really is...
dovecot at dovecot.org
dovecot at dovecot.org
Tue May 27 18:19:03 UTC 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/b54844d64ee5
changeset: 17391:b54844d64ee5
user: Phil Carmody <phil at dovecot.fi>
date: Tue May 27 21:17:34 2014 +0300
description:
lib-storage: context's dotlock_last_stale really is bool
It's only ever read as if it's a bool, so it really is a bool. Fix a write
treating it as an int.
Signed-off-by: Phil Carmody <phil at dovecot.fi>
diffstat:
src/lib-storage/index/mbox/mbox-lock.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r abffff2e916f -r b54844d64ee5 src/lib-storage/index/mbox/mbox-lock.c
--- a/src/lib-storage/index/mbox/mbox-lock.c Tue May 27 17:01:15 2014 +0300
+++ b/src/lib-storage/index/mbox/mbox-lock.c Tue May 27 21:17:34 2014 +0300
@@ -411,7 +411,7 @@
if (mbox->mbox_dotlocked)
return 1;
- ctx->dotlock_last_stale = -1;
+ ctx->dotlock_last_stale = TRUE;
memset(&set, 0, sizeof(set));
set.use_excl_lock = mbox->storage->storage.set->dotlock_use_excl;
More information about the dovecot-cvs
mailing list