From: Timo Sirainen Date: Wed, 16 Dec 2009 19:24:36 +0000 (-0500) Subject: mail storage service: When duping settings, they need to be also checked. X-Git-Tag: 2.0.beta2~113 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=abb9b8f14e83baca887cf12210bfe480f6cde7a6;p=thirdparty%2Fdovecot%2Fcore.git mail storage service: When duping settings, they need to be also checked. The checking part may also parse some settings and store data to the structures. --HG-- branch : HEAD --- diff --git a/src/lib-storage/mail-storage-service.c b/src/lib-storage/mail-storage-service.c index f5d84473e2..5502851a4c 100644 --- a/src/lib-storage/mail-storage-service.c +++ b/src/lib-storage/mail-storage-service.c @@ -727,6 +727,9 @@ int mail_storage_service_lookup(struct mail_storage_service_ctx *ctx, user->set_parser = settings_parser_dup(ctx->service->set_parser, user_pool); + if (!settings_parser_check(user->set_parser, user_pool, error_r)) + i_unreached(); + sets = settings_parser_get_list(user->set_parser); user->user_set = sets[1];