dovecot-2.0: lib-storage: Check valid subscriptions list entries...

dovecot at dovecot.org dovecot at dovecot.org
Fri Sep 24 13:49:00 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/9e8e18e4072c
changeset: 12171:9e8e18e4072c
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Sep 24 11:48:57 2010 +0100
description:
lib-storage: Check valid subscriptions list entries with _is_valid_existing_name()

diffstat:

 src/lib-storage/list/subscription-file.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r a15b0d032c27 -r 9e8e18e4072c src/lib-storage/list/subscription-file.c
--- a/src/lib-storage/list/subscription-file.c	Thu Sep 23 20:04:40 2010 +0100
+++ b/src/lib-storage/list/subscription-file.c	Fri Sep 24 11:48:57 2010 +0100
@@ -240,7 +240,7 @@
                 line = next_line(ctx->list, ctx->path, ctx->input, &ctx->failed,
 				 i < SUBSCRIPTION_FILE_ESTALE_RETRY_COUNT);
 		if (line != NULL &&
-		    !mailbox_list_is_valid_pattern(ctx->list, line)) {
+		    !mailbox_list_is_valid_existing_name(ctx->list, line)) {
 			/* we'll only get into trouble if we show this */
 			i_warning("Subscriptions file %s: "
 				  "Ignoring invalid entry: %s",


More information about the dovecot-cvs mailing list