dovecot-1.2: convert plugin: Don't crash after finishing convers...
dovecot at dovecot.org
dovecot at dovecot.org
Tue May 26 07:38:41 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/b2b9cbe17d1b
changeset: 9089:b2b9cbe17d1b
user: Timo Sirainen <tss at iki.fi>
date: Tue May 26 00:38:36 2009 -0400
description:
convert plugin: Don't crash after finishing conversion.
diffstat:
1 file changed, 3 insertions(+)
src/plugins/convert/convert-storage.c | 3 +++
diffs (14 lines):
diff -r 8eaa3476bdef -r b2b9cbe17d1b src/plugins/convert/convert-storage.c
--- a/src/plugins/convert/convert-storage.c Mon May 25 23:43:39 2009 -0400
+++ b/src/plugins/convert/convert-storage.c Tue May 26 00:38:36 2009 -0400
@@ -403,7 +403,10 @@ int convert_storage(const char *source_d
const char *home, *path, *error;
int ret;
+ i_assert(user->namespaces == dest_namespaces);
source_ns = mail_namespaces_init_empty(user);
+ user->namespaces = dest_namespaces;
+
dest_inbox_ns = mail_namespace_find_inbox(dest_namespaces);
src_flags = dest_inbox_ns->storage->flags;
lock_method = dest_inbox_ns->storage->lock_method;
More information about the dovecot-cvs
mailing list