shithub: werc

Download patch

ref: 5d411774ed6d13af52b7e04b5e3f143f3b74f404
parent: 61134a47da0edd28d916d56dd952f0e6e47f5ed9
author: sl <[email protected]>
date: Tue Jan 20 04:05:57 EST 2009

Fix debug printing of main handler.

--- a/bin/werc.rc
+++ b/bin/werc.rc
@@ -216,7 +216,7 @@
 setup_handlers
 
 if(! ~ $#debug 0)
-    dprint '  '$"SERVER_NAME^$"REQUEST_URI' - '$"HTTP_USER_AGENT' - '$"REQUEST_METHOD' - '$"handler
+    dprint '  '$"SERVER_NAME^$"REQUEST_URI' - '$"HTTP_USER_AGENT' - '$"REQUEST_METHOD' - '$"handler_body_main
 
 template $headers `{get_lib_file $master_template} | awk_buffer
 echo $res_tail