summaryrefslogtreecommitdiffhomepage
path: root/libs/http/luasrc
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-18 19:23:08 +0000
committerSteven Barth <steven@midlink.org>2008-09-18 19:23:08 +0000
commit5067e2d185bbd1fdf029a8da2a84895bbccfad02 (patch)
treed0caa1289fce35bacaae1f1055aaa8317828cf13 /libs/http/luasrc
parent60579b28e861af7780b596eca70a547b4bb779d1 (diff)
Revised sysupgrade part 1
Diffstat (limited to 'libs/http/luasrc')
-rw-r--r--libs/http/luasrc/http/protocol.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/http/luasrc/http/protocol.lua b/libs/http/luasrc/http/protocol.lua
index 93c9e79991..6873d2486e 100644
--- a/libs/http/luasrc/http/protocol.lua
+++ b/libs/http/luasrc/http/protocol.lua
@@ -421,7 +421,7 @@ function mimedecode_message_body( src, msg, filecb )
end
if store then
- store( field.headers, predata, true )
+ store( field, predata, true )
end
@@ -439,7 +439,7 @@ function mimedecode_message_body( src, msg, filecb )
data = data:sub( 1, #data - 78 )
if store then
- store( field.headers, data, false )
+ store( field, data, false )
else
return nil, "Invalid MIME section header"
end
@@ -451,7 +451,7 @@ function mimedecode_message_body( src, msg, filecb )
lchunk, eof = parse_headers( data, field )
inhdr = not eof
else
- store( field.headers, lchunk, false )
+ store( field, lchunk, false )
lchunk, chunk = chunk, nil
end
end