Mercurial > dovecot > core-2.2
changeset 12171:9e8e18e4072c
lib-storage: Check valid subscriptions list entries with _is_valid_existing_name()
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 24 Sep 2010 11:48:57 +0100 |
parents | a15b0d032c27 |
children | aa18316e271d |
files | src/lib-storage/list/subscription-file.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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",