dovecot-2.2: fts: Fixed error printing if fts wasn't enabled for...

dovecot at dovecot.org dovecot at dovecot.org
Wed Feb 11 09:57:15 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/2a262816191d
changeset: 18241:2a262816191d
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Feb 11 11:56:59 2015 +0200
description:
fts: Fixed error printing if fts wasn't enabled for user's default namespace.

diffstat:

 src/plugins/fts/doveadm-fts.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 51d04f935e61 -r 2a262816191d src/plugins/fts/doveadm-fts.c
--- a/src/plugins/fts/doveadm-fts.c	Tue Feb 10 17:29:31 2015 +0200
+++ b/src/plugins/fts/doveadm-fts.c	Wed Feb 11 11:56:59 2015 +0200
@@ -25,7 +25,8 @@
 	}
 
 	if (fts_list_backend(ns->list) == NULL) {
-		i_error("fts not enabled for user's namespace %s", ns_prefix);
+		i_error("fts not enabled for user's namespace %s",
+			ns_prefix != NULL ? ns_prefix : "INBOX");
 		return -1;
 	}
 	*ns_r = ns;


More information about the dovecot-cvs mailing list