summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index 96acad7..514dad3 100644
--- a/server.c
+++ b/server.c
@@ -62,7 +62,7 @@ static enum kcgi_err stylesheet(struct kreq *req) {
 		)
 		|| khttp_body(req);
 	if (req->method == KMETHOD_HEAD) return error;
-	return error || khttp_write(req, CSS, sizeof(CSS));
+	return error || khttp_write(req, CSS, sizeof(CSS) - 1);
 }
 
 static enum kcgi_err dispatch(struct kreq *req) {