From: Timo Sirainen Date: Wed, 10 Feb 2021 19:43:18 +0000 (+0200) Subject: stats: Use array_foreach_elem() where possible X-Git-Tag: 2.3.16~189 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6392b0706f89dad4b225ab871ba257e678188ef8;p=thirdparty%2Fdovecot%2Fcore.git stats: Use array_foreach_elem() where possible --- diff --git a/src/stats/client-http.c b/src/stats/client-http.c index b39c8caae5..1811917934 100644 --- a/src/stats/client-http.c +++ b/src/stats/client-http.c @@ -133,7 +133,7 @@ static void stats_http_resource_root_make_response(struct http_server_response *resp, const struct http_request *hreq) { - struct stats_http_resource *const *res_p; + struct stats_http_resource *res; struct http_url url; string_t *msg; @@ -154,9 +154,7 @@ stats_http_resource_root_make_response(struct http_server_response *resp, str_append(msg, "

Dovecot Stats:

\n"); str_append(msg, "