dovecot-2.2: lib-fs: Fix to earlier write_stream_finish() commit
dovecot at dovecot.org
dovecot at dovecot.org
Sun Aug 16 11:17:47 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/f04240346fa0
changeset: 18937:f04240346fa0
user: Timo Sirainen <tss at iki.fi>
date: Sun Aug 16 13:17:06 2015 +0200
description:
lib-fs: Fix to earlier write_stream_finish() commit
2f1378beeef6 accidentally reversed == and != check.
diffstat:
src/lib-fs/fs-api.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r e8e838cb9663 -r f04240346fa0 src/lib-fs/fs-api.c
--- a/src/lib-fs/fs-api.c Sun Aug 16 13:14:11 2015 +0200
+++ b/src/lib-fs/fs-api.c Sun Aug 16 13:17:06 2015 +0200
@@ -562,7 +562,7 @@
T_BEGIN {
ret = file->fs->v.write_stream_finish(file, success);
} T_END;
- if (ret == 0) {
+ if (ret != 0) {
file->metadata_changed = FALSE;
} else {
/* write didn't finish yet. this shouldn't happen if we
More information about the dovecot-cvs
mailing list