summaryrefslogtreecommitdiffhomepage
path: root/libs/httpd/luasrc/httpd.lua
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-23 21:30:44 +0000
committerSteven Barth <steven@midlink.org>2008-06-23 21:30:44 +0000
commitdf8f52494072926e86f590bbd6fc2589441f7772 (patch)
treedc6b2d3eeb841fffa503a3b9fcdd2fb8e2e446ab /libs/httpd/luasrc/httpd.lua
parent1e413b92510f6da7f97e2cb1bc7a1cc45ca93bda (diff)
* libs/httpd: Tuned Garbage Collection
Diffstat (limited to 'libs/httpd/luasrc/httpd.lua')
-rw-r--r--libs/httpd/luasrc/httpd.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/libs/httpd/luasrc/httpd.lua b/libs/httpd/luasrc/httpd.lua
index d0a07faa70..6524bc1de6 100644
--- a/libs/httpd/luasrc/httpd.lua
+++ b/libs/httpd/luasrc/httpd.lua
@@ -118,10 +118,9 @@ function Daemon.step(self)
if self.debug then
self:dprint(tostring(client[1]) .. " returned")
- end
-
- if not stat and self.debug then
- self:dprint("Error in " .. tostring(client[1]) .. " " .. err)
+ if not stat then
+ self:dprint("Error in " .. tostring(client[1]) .. " " .. err)
+ end
end
end
end