summary refs log tree commit diff
path: root/server.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/server.c b/server.c
index 514dad3..8aea1e5 100644
--- a/server.c
+++ b/server.c
@@ -21,7 +21,6 @@
 #include <sysexits.h>
 #include <unistd.h>
 
-#include "css.h"
 #include "server.h"
 
 sqlite3 *db;
@@ -62,7 +61,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) - 1);
+	return error || khttp_puts(req, CSS);
 }
 
 static enum kcgi_err dispatch(struct kreq *req) {