From: Stephen Seo Date: Mon, 9 Sep 2024 08:01:41 +0000 (+0900) Subject: Fix "unfixed" "count" from previous commit X-Git-Tag: 1.0~56 X-Git-Url: https://git.seodisparate.com/stephenseo/js/darkmode.js?a=commitdiff_plain;h=bc879408fe9053411f2290f6b7e105878fb58a2a;p=c_simple_http Fix "unfixed" "count" from previous commit --- 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));