Merge pull request #88 from HHHartmann/WrongParameter2

Call to log had wrong parameters
This commit is contained in:
Marcos 2017-05-29 22:40:23 -05:00 committed by GitHub
commit 593f82fc0a

View File

@ -117,7 +117,7 @@ return function (port)
end end
if user and req.methodIsValid and (req.method == "GET" or req.method == "POST" or req.method == "PUT") then if user and req.methodIsValid and (req.method == "GET" or req.method == "POST" or req.method == "PUT") then
handleRequest(connection, req) handleRequest(connection, req, handleError)
else else
local args = {} local args = {}
local fileServeFunction = dofile("httpserver-error.lc") local fileServeFunction = dofile("httpserver-error.lc")