From 3ae9f3fd34e648a63ea57f5e193f9a88ecff18a0 Mon Sep 17 00:00:00 2001 From: Michael McVady Date: Sat, 21 Aug 2021 18:03:08 -0500 Subject: Fix kore_buf_alloc call --- src/clog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/clog.c b/src/clog.c index 74564f0..a41a308 100644 --- a/src/clog.c +++ b/src/clog.c @@ -8,7 +8,7 @@ int page(struct http_request *); int page(struct http_request *req) { struct kore_buf *buf; - buf = kore_buf_alloc(); + buf = kore_buf_alloc(2048); kore_buf_append(buf, asset_index_begin_html, asset_len_index_begin_html); kore_buf_append(buf, asset_index_end_html, asset_len_index_end_html); -- cgit v1.2.3