shithub: werc

Download patch

ref: 9b9231c147ee5cf54d80c0c35a30bfbb6ac7f2e8
parent: dc4cb44f09bcf980e5734c1d9a99885595447dc6
author: uriel <uriel@suckless.org>
date: Tue Sep 16 18:29:52 EDT 2008

Fix 404 status string

--- a/bin/controller.rc
+++ b/bin/controller.rc
@@ -234,7 +234,7 @@
     if not if(~ $#blogDirs 0) {
         set_handler 404_handler $body
         dprint 'NOT FOUND: '$SERVER_NAME^$REQUEST_URI^' - '^$"HTTP_REFERER^' - '^$"HTTP_USER_AGENT
-        echo 'Status: 404 Not Found\n\n'
+        echo 'Status: 404 Not Found'
     }
 
     if(! ~ $#blogDirs 0)