diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-11-05 03:06:11 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-11-05 03:06:11 +0500 |
commit | 3f361a6d84d075b20c94076d9108d920cebf0cb6 (patch) | |
tree | bbcfb6051593759c90fab02a88911a630f4f100c /util | |
parent | 64cf101b58958d0bdabe7ab00114e3f9bba7a0f4 (diff) | |
download | prosody-3f361a6d84d075b20c94076d9108d920cebf0cb6.tar.gz prosody-3f361a6d84d075b20c94076d9108d920cebf0cb6.zip |
util.httpstream: Fixed a nil variable access introduced in the last commit.
Diffstat (limited to 'util')
-rw-r--r-- | util/httpstream.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/httpstream.lua b/util/httpstream.lua index e2127b80..e048e78c 100644 --- a/util/httpstream.lua +++ b/util/httpstream.lua @@ -36,6 +36,7 @@ local function parser(data, success_cb) key = key:lower(); headers[key] = headers[key] and headers[key]..","..val or val; end + return headers; end while true do |