]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: Improve namespace error message - include separator char.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 11 Jan 2017 22:53:54 +0000 (00:53 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 11 Jan 2017 22:53:54 +0000 (00:53 +0200)
It wasn't always obvious what the character should have been when
namespace didn't have an explicitly configured separator.

src/lib-storage/mail-namespace.c

index d0d72f57acb05d3dd4185c1d64afb84ddb842555..8c03eb24dfa99ee6b8069757bb9bf0d631317f00 100644 (file)
@@ -294,7 +294,7 @@ namespaces_check(struct mail_namespace *namespaces, const char **error_r)
                    ns->prefix[strlen(ns->prefix)-1] != ns_sep) {
                        *error_r = t_strdup_printf(
                                "list=yes requires prefix=%s "
-                               "to end with separator", ns->prefix);
+                               "to end with separator %c", ns->prefix, ns_sep);
                        return FALSE;
                }
                if (*ns->prefix != '\0' &&