]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
fts: Fixed error printing if fts wasn't enabled for user's default namespace.
authorTimo Sirainen <tss@iki.fi>
Wed, 11 Feb 2015 09:56:59 +0000 (11:56 +0200)
committerTimo Sirainen <tss@iki.fi>
Wed, 11 Feb 2015 09:56:59 +0000 (11:56 +0200)
src/plugins/fts/doveadm-fts.c

index c279465adcdecc78e7b37c120a7a61541c998332..78823f44a000df2323dfa37bf79b285645a004cf 100644 (file)
@@ -25,7 +25,8 @@ fts_namespace_find(struct mail_user *user, const char *ns_prefix,
        }
 
        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;