mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 06:07:37 +03:00
net.http.parser: Remove unused argument [luacheck]
This commit is contained in:
parent
9129ea5b4c
commit
0468aa76f1
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ function httpstream.new(success_cb, error_cb, parser_type, options_cb)
|
|||
local have_body;
|
||||
local error;
|
||||
return {
|
||||
feed = function(self, data)
|
||||
feed = function(_, data)
|
||||
if error then return nil, "parse has failed"; end
|
||||
if not data then -- EOF
|
||||
if state and client and not len then -- reading client body until EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue