changeset 9391:d0e7d95ca46a HEAD

mail_location: If it ends with ":", ignore it instead of adding ":" character. If ":" is really wanted, it should be done with "::".
author Timo Sirainen <tss@iki.fi>
date Mon, 28 Sep 2009 15:57:48 -0400
parents 3132464fbe9c
children 28cea4c5158a
files src/lib-storage/mailbox-list.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/mailbox-list.c	Mon Sep 28 14:24:14 2009 -0400
+++ b/src/lib-storage/mailbox-list.c	Mon Sep 28 15:57:48 2009 -0400
@@ -142,7 +142,7 @@
 	while (*args != NULL && **args == '\0') {
 		args++;
 		if (*args == NULL) {
-			str = t_strconcat(str, ":", NULL);
+			/* string ends with ":", just ignore it. */
 			break;
 		}
 		str = t_strconcat(str, ":", *args, NULL);