diff options
author | Kim Alvefur <zash@zash.se> | 2016-08-13 15:09:43 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-08-13 15:09:43 +0200 |
commit | d3a6c7549a1a8c5def068d2f2dc8cda8943fbdb3 (patch) | |
tree | 837da5b1ebde667fb37b32c039d2309d2fad2220 | |
parent | 12daa02c0c03082ad7fcefa7deef667394e08053 (diff) | |
download | prosody-d3a6c7549a1a8c5def068d2f2dc8cda8943fbdb3.tar.gz prosody-d3a6c7549a1a8c5def068d2f2dc8cda8943fbdb3.zip |
net.http.parser: Remove unused argument [luacheck]
-rw-r--r-- | net/http/parser.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/parser.lua b/net/http/parser.lua index 6d7187da..70df6513 100644 --- a/net/http/parser.lua +++ b/net/http/parser.lua @@ -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 |