From bc879408fe9053411f2290f6b7e105878fb58a2a Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Mon, 9 Sep 2024 17:01:41 +0900 Subject: [PATCH] Fix "unfixed" "count" from previous commit --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 1d5d954..ddc2a6b 100644 --- a/src/main.c +++ b/src/main.c @@ -221,7 +221,7 @@ int main(int argc, char **argv) { CHECK_ERROR_WRITE(write(connection_fd, response, response_size)); } else { CHECK_ERROR_WRITE(write( - connection_fd, "HTTP/1.1 500 Internal Server Error\n", 23)); + connection_fd, "HTTP/1.1 500 Internal Server Error\n", 35)); CHECK_ERROR_WRITE(write(connection_fd, "Allow: GET\n", 11)); CHECK_ERROR_WRITE(write( connection_fd, "Content-Type: text/html\n", 24));