aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-11-05 03:06:11 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-11-05 03:06:11 +0500
commit3f361a6d84d075b20c94076d9108d920cebf0cb6 (patch)
treebbcfb6051593759c90fab02a88911a630f4f100c /util
parent64cf101b58958d0bdabe7ab00114e3f9bba7a0f4 (diff)
downloadprosody-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.lua1
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