]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-master: stats_category_registered() - Increase initial string_t size
authorMarkus Valentin <markus.valentin@open-xchange.com>
Fri, 22 Sep 2023 08:33:44 +0000 (10:33 +0200)
committerMarkus Valentin <markus.valentin@open-xchange.com>
Fri, 22 Sep 2023 08:45:30 +0000 (10:45 +0200)
src/lib-master/stats-client.c

index 2b1e4d7395d284e5d334e917394ad9fbbec575de..dcb1daa674a7a44e9bb1d819ba970a2ea7e098a5 100644 (file)
@@ -277,7 +277,7 @@ static void stats_category_registered(struct event_category *category)
        if (client->conn.output == NULL)
                return;
 
-       string_t *str = t_str_new(64);
+       string_t *str = t_str_new(256);
        stats_category_append(str, category);
        o_stream_nsend(client->conn.output, str_data(str), str_len(str));
 }