summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/http/luasrc/http/protocol.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/http/luasrc/http/protocol.lua b/libs/http/luasrc/http/protocol.lua
index 87c76b8a2..b03538781 100644
--- a/libs/http/luasrc/http/protocol.lua
+++ b/libs/http/luasrc/http/protocol.lua
@@ -480,7 +480,7 @@ function mimedecode_message_body( src, msg, filecb )
if spos then
local predata = data:sub( 1, spos - 1 )
- if hdr then
+ if inhdr then
predata, eof = parse_headers( predata, field )
if not eof then