aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael McVady <femtonaut@gmail.com>2021-08-21 18:03:08 -0500
committerMichael McVady <femtonaut@gmail.com>2021-08-21 18:03:08 -0500
commit3ae9f3fd34e648a63ea57f5e193f9a88ecff18a0 (patch)
tree78646a8f8c3f8fe77e8c802de2d0c221edb41cf9
parentf44dddb3be440af05abbe5d683c797f21d95eb00 (diff)
Fix kore_buf_alloc call
-rw-r--r--src/clog.c2
1 files changed, 1 insertions, 1 deletions
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);