summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-03-10 18:48:15 +0100
committerJo-Philipp Wich <jow@openwrt.org>2015-03-10 18:48:15 +0100
commit965c6315bfd87ebcf5888b5329f116952feefdd7 (patch)
tree666b70e0b1079dbbd4ed85da3e59b2464036b6c4
parentb9e3aae13a6c606660609346a3401d2fc5d086d7 (diff)
parent83973f28c32415dba97bfb7c89815c24083e8b1c (diff)
Merge pull request #340 from hnyman/png-close-logspam
luci-statistics: fix uhttpd log spam from extra png close
-rw-r--r--applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua b/applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
index 329341ddc..c532b4a6d 100644
--- a/applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
+++ b/applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
@@ -150,7 +150,6 @@ function statistics_render()
if png then
luci.http.prepare_content("image/png")
l12.pump.all(l12.source.file(png), luci.http.write)
- png:close()
end
return
end