aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-08-13 15:09:43 +0200
committerKim Alvefur <zash@zash.se>2016-08-13 15:09:43 +0200
commit0468aa76f1e3be9af2cf75392423fec2b0d2db79 (patch)
tree837da5b1ebde667fb37b32c039d2309d2fad2220 /net
parent9129ea5b4c556f94436c50c4ff8711c6c78ee5c5 (diff)
downloadprosody-0468aa76f1e3be9af2cf75392423fec2b0d2db79.tar.gz
prosody-0468aa76f1e3be9af2cf75392423fec2b0d2db79.zip
net.http.parser: Remove unused argument [luacheck]
Diffstat (limited to 'net')
-rw-r--r--net/http/parser.lua2
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