From d503e33e48ec08c6cc09abc5ba2d6c9a510f7562 Mon Sep 17 00:00:00 2001 From: "me@ow.nekobit.net" Date: Mon, 31 Jan 2022 18:20:47 +0000 Subject: [PATCH] Correct Content-Length FossilOrigin-Name: f97c8767cbcf1fd56c8e889a15f67f13e085e1f2cc93c142c241d823dd0f7c5f --- src/index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.c b/src/index.c index df6ad96..c106b77 100644 --- a/src/index.c +++ b/src/index.c @@ -41,7 +41,7 @@ void content_index(mastodont_t* api) /* Output */ printf("Content-Length: %ld\r\n\r\n", - data_index_html_size + statuses_html_count + 4); + data_index_html_size + statuses_html_count + 1); printf(data_index_html, config_canonical_name, status_format); /* Cleanup */