Skip to content

Commit

Permalink
lib-storage: Improve namespace error message - include separator char.
Browse files Browse the repository at this point in the history
It wasn't always obvious what the character should have been when
namespace didn't have an explicitly configured separator.
  • Loading branch information
sirainen committed Jan 12, 2017
1 parent 595b94c commit d52d0f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib-storage/mail-namespace.c
Expand Up @@ -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' &&
Expand Down

0 comments on commit d52d0f2

Please sign in to comment.