Software /
code /
prosody
Diff
net/http/parser.lua @ 7569:a15ce0014ac9
net.http.parser: Remove unused argument [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 13 Aug 2016 15:09:43 +0200 |
parent | 6523:63d3126b75f1 |
child | 7581:01d0d466d7be |
line wrap: on
line diff
--- a/net/http/parser.lua Fri Aug 12 13:51:38 2016 +0800 +++ b/net/http/parser.lua Sat Aug 13 15:09:43 2016 +0200 @@ -35,7 +35,7 @@ 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