idiotbox-c

youtube web application in C
git clone git://git.codemadness.org/idiotbox-c
Log | Files | Refs | README | LICENSE

commit 1a48b97482155f78ba1c7f538c2b5eaaec45652c
parent b248c5323b318cb39ccf76bf70dd749ac7fee298
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Thu, 28 Jun 2018 20:19:48 +0200

fix 500 HTTP status

Diffstat:
main.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c @@ -700,7 +700,7 @@ render(void) int i; if (pledge("stdio", NULL) == -1) { - puts("Status: Internal Server Error\r\n\r"); + puts("Status: 500 Internal Server Error\r\n\r"); exit(1); }