]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
stats: stats_metric_alloc() - Fix indentation on p_new() call
authorMartti Rannanjärvi <martti.rannanjarvi@open-xchange.com>
Thu, 3 Feb 2022 23:32:18 +0000 (01:32 +0200)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Mon, 21 Feb 2022 10:18:30 +0000 (10:18 +0000)
src/stats/stats-metrics.c

index 877c142546cd51b82e7341b0930c5545f952331b..85414f6a66c441aa47008d1b41f2449871662a69 100644 (file)
@@ -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();