net.http.parser: Fix indentation
authorKim Alvefur <zash@zash.se>
Thu, 20 Aug 2020 16:43:27 +0200
changeset 11033 5550fc5e83f3
parent 11032 d7a403060946
child 11034 388f599f66d1
net.http.parser: Fix indentation Probably due to a rebase/merge with a merge tool that ignores whitespace. Happens all the time to me :(
net/http/parser.lua
--- a/net/http/parser.lua	Thu Aug 20 15:22:19 2020 +0100
+++ b/net/http/parser.lua	Thu Aug 20 16:43:27 2020 +0200
@@ -132,8 +132,8 @@
 					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