Commit f1f59b92 authored by Pierre Ynard's avatar Pierre Ynard Committed by Jean-Baptiste Kempf

httprequests.lua: remove duplicate helper function

(cherry picked from commit f77f269b7e0cf50d8ed3b6f5833ed52a3cef7a9d)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 043959a6
......@@ -59,10 +59,6 @@ function strsplit(text, delimiter)
return list
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
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