dovecot-2.0: mdbox purge: Fixed warning about corrupted extrefs.
dovecot at dovecot.org
dovecot at dovecot.org
Thu Apr 28 21:11:33 EEST 2011
details: http://hg.dovecot.org/dovecot-2.0/rev/bb0bd8cb6f68
changeset: 12755:bb0bd8cb6f68
user: Timo Sirainen <tss at iki.fi>
date: Thu Apr 28 21:11:23 2011 +0300
description:
mdbox purge: Fixed warning about corrupted extrefs.
diffstat:
src/lib-storage/index/dbox-multi/mdbox-purge.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r 36025cbfec3b -r bb0bd8cb6f68 src/lib-storage/index/dbox-multi/mdbox-purge.c
--- a/src/lib-storage/index/dbox-multi/mdbox-purge.c Thu Apr 28 21:10:57 2011 +0300
+++ b/src/lib-storage/index/dbox-multi/mdbox-purge.c Thu Apr 28 21:11:23 2011 +0300
@@ -147,8 +147,8 @@
break;
}
if (*line == DBOX_METADATA_EXT_REF) {
- if (dbox_attachment_parse_extref(line+1, ext_refs_pool,
- extrefs) < 0) {
+ if (!dbox_attachment_parse_extref(line+1, ext_refs_pool,
+ extrefs)) {
i_warning("%s: Ignoring corrupted extref: %s",
file->cur_path, line);
}
More information about the dovecot-cvs
mailing list