From: Timo Sirainen Date: Wed, 11 Jan 2017 22:53:54 +0000 (+0200) Subject: lib-storage: Improve namespace error message - include separator char. X-Git-Tag: 2.3.0.rc1~2320 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a7c9ff357cc3b84d89e11785bfbe8ef4fd4ab317;p=thirdparty%2Fdovecot%2Fcore.git lib-storage: Improve namespace error message - include separator char. It wasn't always obvious what the character should have been when namespace didn't have an explicitly configured separator. --- diff --git a/src/lib-storage/mail-namespace.c b/src/lib-storage/mail-namespace.c index d0d72f57ac..8c03eb24df 100644 --- a/src/lib-storage/mail-namespace.c +++ b/src/lib-storage/mail-namespace.c @@ -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' &&