aboutsummaryrefslogtreecommitdiffstats
path: root/net/http/parser.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-08-20 16:43:27 +0200
committerKim Alvefur <zash@zash.se>2020-08-20 16:43:27 +0200
commit031a8d8e6458cb2c5ba115a75cd4f404326f7acf (patch)
treefb6dc11421437977e79d7331913a3bcce7619fa9 /net/http/parser.lua
parent9115d2a366b8c588a22041c3e35c97b8d8a37af2 (diff)
downloadprosody-031a8d8e6458cb2c5ba115a75cd4f404326f7acf.tar.gz
prosody-031a8d8e6458cb2c5ba115a75cd4f404326f7acf.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/parser.lua')
-rw-r--r--net/http/parser.lua4
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