dovecot-2.1: lib-storage: One more crashfix for recent maildir_n...

dovecot at dovecot.org dovecot at dovecot.org
Thu Feb 2 16:26:43 EET 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/ba48de993c8e
changeset: 14057:ba48de993c8e
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Feb 02 16:26:33 2012 +0200
description:
lib-storage: One more crashfix for recent maildir_name/mailbox_dir_name change.

diffstat:

 src/lib-storage/mail-storage.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r d29d119192c1 -r ba48de993c8e src/lib-storage/mail-storage.c
--- a/src/lib-storage/mail-storage.c	Thu Feb 02 15:45:30 2012 +0200
+++ b/src/lib-storage/mail-storage.c	Thu Feb 02 16:26:33 2012 +0200
@@ -324,6 +324,8 @@
 	}
 
 	memset(&list_set, 0, sizeof(list_set));
+	list_set.mailbox_dir_name = "";
+	list_set.maildir_name = "";
 	if (data == NULL) {
 		/* autodetect */
 	} else if (driver != NULL && strcmp(driver, "shared") == 0) {


More information about the dovecot-cvs mailing list