diff options
author | Steven Barth <steven@midlink.org> | 2008-09-18 21:45:01 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-09-18 21:45:01 +0000 |
commit | a54b1945c407b7fecaae8aac57fa3338eb11a3bc (patch) | |
tree | 0a00ccd8a3db725d2b1e5bfa6a54caa6459bcc82 /libs/http/luasrc | |
parent | 8f5d0d6ff5a1cbb40eccce5eeb99d5249bab5159 (diff) |
Revert mtdow
Diffstat (limited to 'libs/http/luasrc')
-rw-r--r-- | libs/http/luasrc/http/protocol.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/http/luasrc/http/protocol.lua b/libs/http/luasrc/http/protocol.lua index 6873d2486..93c9e7999 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, predata, true ) + store( field.headers, 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, data, false ) + store( field.headers, 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, lchunk, false ) + store( field.headers, lchunk, false ) lchunk, chunk = chunk, nil end end |