From: Aki Tuomi Date: Tue, 17 Sep 2024 05:09:57 +0000 (+0300) Subject: quota-status: Use new var_expand X-Git-Tag: 2.4.1~583 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23f289e33176558778abd199e7edcc1f230f72e7;p=thirdparty%2Fdovecot%2Fcore.git quota-status: Use new var_expand --- diff --git a/src/plugins/quota/quota-status.c b/src/plugins/quota/quota-status.c index 74c75dd057..03e1cb4cdc 100644 --- a/src/plugins/quota/quota-status.c +++ b/src/plugins/quota/quota-status.c @@ -210,8 +210,8 @@ static void client_handle_request(struct quota_client *client) struct event *event = event_create(client->event); const struct var_expand_table table[] = { - { '\0', error, "error" }, - { '\0', NULL, NULL } + { .key = "error", .value = error }, + VAR_EXPAND_TABLE_END }; struct var_expand_params params = { .table = table,