From: Martti Rannanjärvi Date: Thu, 3 Feb 2022 23:32:18 +0000 (+0200) Subject: stats: stats_metric_alloc() - Fix indentation on p_new() call X-Git-Tag: 2.4.0~4570 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2b776069205c6faafdb56fe1bdd30973a9036262;p=thirdparty%2Fdovecot%2Fcore.git stats: stats_metric_alloc() - Fix indentation on p_new() call --- diff --git a/src/stats/stats-metrics.c b/src/stats/stats-metrics.c index 877c142546..85414f6a66 100644 --- a/src/stats/stats-metrics.c +++ b/src/stats/stats-metrics.c @@ -90,8 +90,8 @@ stats_metric_alloc(pool_t pool, const char *name, metric->duration_stats = stats_dist_init(); metric->fields_count = str_array_length(fields); if (metric->fields_count > 0) { - metric->fields = p_new(pool, struct metric_field, - metric->fields_count); + metric->fields = p_new(pool, struct metric_field, + metric->fields_count); for (unsigned int i = 0; i < metric->fields_count; i++) { metric->fields[i].field_key = p_strdup(pool, fields[i]); metric->fields[i].stats = stats_dist_init();