commit e36d4462db95a7388ca2f77003231beab48e2e0c
parent 7ffc7e73e7f7129fc89aa118139f2a343218afa7
Author: Joris Vink <joris@coders.se>
Date: Thu, 19 Apr 2018 14:48:50 +0200
bump initial space for list buffer.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/blog.c b/src/blog.c
@@ -318,7 +318,7 @@ list_posts(struct http_request *req, const char *type, int flags)
return (KORE_RESULT_OK);
}
- kore_buf_init(&buf, 128);
+ kore_buf_init(&buf, 4096);
kore_buf_append(&buf, asset_index_top_html, asset_len_index_top_html);
TAILQ_FOREACH(post, &posts, list) {