dovecot-2.1: mbox: Fix to previous public namespace location det...

dovecot at dovecot.org dovecot at dovecot.org
Fri Aug 31 16:19:26 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/5625ab0a3eed
changeset: 14693:5625ab0a3eed
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Aug 31 16:19:21 2012 +0300
description:
mbox: Fix to previous public namespace location detection crashfix.

diffstat:

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

diffs (12 lines):

diff -r 6b9db780b47d -r 5625ab0a3eed src/lib-storage/index/mbox/mbox-storage.c
--- a/src/lib-storage/index/mbox/mbox-storage.c	Fri Aug 31 16:17:23 2012 +0300
+++ b/src/lib-storage/index/mbox/mbox-storage.c	Fri Aug 31 16:19:21 2012 +0300
@@ -246,7 +246,7 @@
 	bool debug = ns->mail_set->mail_debug;
 	const char *home, *path;
 
-	if (ns->owner != NULL &&
+	if (ns->owner == NULL ||
 	    mail_user_get_home(ns->owner, &home) <= 0) {
 		if (debug)
 			i_debug("maildir: Home directory not set");


More information about the dovecot-cvs mailing list