Browse Source

Merge pull request #88 from HHHartmann/WrongParameter2

Call to log had wrong parameters
Marcos 7 years ago
parent
commit
593f82fc0a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      httpserver.lua

+ 1 - 1
httpserver.lua

@@ -117,7 +117,7 @@ return function (port)
             end
 
             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
                local args = {}
                local fileServeFunction = dofile("httpserver-error.lc")