diff options
author | Kim Alvefur <zash@zash.se> | 2020-08-20 16:43:27 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-08-20 16:43:27 +0200 |
commit | bacba33b8ab5940d8cea08e383fb42db995e1cd0 (patch) | |
tree | fb6dc11421437977e79d7331913a3bcce7619fa9 /net/http | |
parent | 41f1cb95d3d18a0203edf3bb2f75458d42d56629 (diff) | |
download | prosody-bacba33b8ab5940d8cea08e383fb42db995e1cd0.tar.gz prosody-bacba33b8ab5940d8cea08e383fb42db995e1cd0.zip |
net.http.parser: Fix indentation
Probably due to a rebase/merge with a merge tool that ignores
whitespace. Happens all the time to me :(
Diffstat (limited to 'net/http')
-rw-r--r-- | net/http/parser.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/http/parser.lua b/net/http/parser.lua index b8396518..3470ffb1 100644 --- a/net/http/parser.lua +++ b/net/http/parser.lua @@ -132,8 +132,8 @@ function httpstream.new(success_cb, error_cb, parser_type, options_cb) if chunked and not packet.body_sink then success_cb(packet); if not packet.body_sink then - packet.body_buffer = dbuffer.new(buflimit); - end + packet.body_buffer = dbuffer.new(buflimit); + end end state = true; end |