aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Murphy <alec@checksum.fail>2017-05-25 15:25:46 -0400
committerAlec Murphy <alec@checksum.fail>2017-05-25 15:25:46 -0400
commit5714e661effe789735956b2921cbc6ecc1384f9e (patch)
treef8dca317c8578e288e0852431bac5a5e911baeb6
parentf208c5ebecbde3049aa1c3f75a5200c115472e26 (diff)
Update HTTP response status.
-rw-r--r--Selaphiel.HC2
1 files changed, 1 insertions, 1 deletions
diff --git a/Selaphiel.HC b/Selaphiel.HC
index 61f07a5..3c4e586 100644
--- a/Selaphiel.HC
+++ b/Selaphiel.HC
@@ -162,7 +162,7 @@ I64 Selaphiel(U8 *p_ipaddr, I64 p_port)
if (not_found)
{
- wswrite(sock, "HTTP/1.1 404 OK\r\n");
+ wswrite(sock, "HTTP/1.1 404 Not Found\r\n");
StrPrint(buf, "Date: %3tZ, %02d %3tZ %d %02d:%02d:%02d EST\r\n",
ds.day_of_week,"ST_DAYS_OF_WEEK",ds.day_of_mon,ds.mon-1,"ST_MONTHS",ds.year,ds.hour,ds.min,ds.sec);
wswrite(sock, buf);