summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/httpd.c b/httpd.c
index e2cfbb0..20d87bd 100644
--- a/httpd.c
+++ b/httpd.c
@@ -284,6 +284,9 @@ void httpd_connection(FILE *f)
284 status = 404; 284 status = 404;
285 } 285 }
286 286
287 if (status == 403)
288 body = xs_str_new("<h1>403 Forbidden</h1>");
289
287 if (status == 404) 290 if (status == 404)
288 body = xs_str_new("<h1>404 Not Found</h1>"); 291 body = xs_str_new("<h1>404 Not Found</h1>");
289 292