Commit f77f269b authored by Pierre Ynard's avatar Pierre Ynard

httprequests.lua: remove duplicate helper function

parent f01ad163
...@@ -58,10 +58,6 @@ function strsplit(text, delimiter) ...@@ -58,10 +58,6 @@ function strsplit(text, delimiter)
return list return list
end end
function round(what, precision)
if what then return math.floor(what*math.pow(10,precision)+0.5) / math.pow(10,precision) else return "" end
end
--main function to process commands sent with the request --main function to process commands sent with the request
processcommands = function () processcommands = function ()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment