changeset 21392:113f85406791

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.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Thu, 12 Jan 2017 00:53:54 +0200
parents 609e20f25505
children 50fd64061aac
files src/lib-storage/mail-namespace.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/mail-namespace.c	Wed Jan 11 19:43:30 2017 +0200
+++ b/src/lib-storage/mail-namespace.c	Thu Jan 12 00:53:54 2017 +0200
@@ -294,7 +294,7 @@
 		    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' &&