summaryrefslogtreecommitdiffhomepage
path: root/libs/httpd/luasrc/httpd.lua
diff options
context:
space:
mode:
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 d0a07faa7..6524bc1de 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