summaryrefslogtreecommitdiffhomepage
path: root/libs/http/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-07-18 12:02:18 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-07-18 12:02:18 +0000
commitdaa7d4e8a451b890fa1d2ac62d41dd14c5e91ff7 (patch)
tree79752045f89acf8dfcf08cd064ae9f8183b23f1e /libs/http/luasrc
parentfbd663c2eb64089955c83f7c885f1abb10bd6eec (diff)
* luci/libs/http: fix wrong varname in http.protocol
Diffstat (limited to 'libs/http/luasrc')
-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