diff --git a/modules/s_dns.cc b/modules/s_dns.cc index dba5ed18a..7f568c2ff 100644 --- a/modules/s_dns.cc +++ b/modules/s_dns.cc @@ -441,11 +441,7 @@ ircd::net::dns::cache::put(const string_view &type, const string_view &msg) try { - const unique_buffer content_buf - { - 1_KiB - }; - + char content_buf[1024]; json::stack out{content_buf}; json::stack::object content{out}; json::stack::array array