From: Timo Sirainen Date: Thu, 15 May 2025 10:06:56 +0000 (+0300) Subject: auth: Terminate properly auth_oauth2_post_setting_defines list X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e546239af593dfd0722bea9ff169b60006e219f9;p=thirdparty%2Fdovecot%2Fcore.git auth: Terminate properly auth_oauth2_post_setting_defines list Fixes: Error: xoauth2: oauth2 failed: Local validation failed: auth_oauth2_fields settings: Failed to parse configuration: settings struct auth_oauth2_fields #1 key mismatch --- diff --git a/src/auth/db-oauth2.c b/src/auth/db-oauth2.c index bd807e30b5..230c6cf767 100644 --- a/src/auth/db-oauth2.c +++ b/src/auth/db-oauth2.c @@ -134,6 +134,8 @@ const struct setting_parser_info auth_oauth2_setting_parser_info = { static const struct setting_define auth_oauth2_post_setting_defines[] = { { .type = SET_STRLIST, .key = "oauth2_fields", .offset = offsetof(struct auth_oauth2_post_settings, fields) }, + + SETTING_DEFINE_LIST_END }; static const struct auth_oauth2_post_settings auth_oauth2_post_default_settings = {