util.httpstream: Fixed a nil variable access introduced in the last commit.
authorWaqas Hussain <waqas20@gmail.com>
Fri, 05 Nov 2010 03:06:11 +0500
changeset 3563 544d9d2e3046
parent 3562 98f9dca3eb94
child 3564 90f4e6dc1c11
util.httpstream: Fixed a nil variable access introduced in the last commit.
util/httpstream.lua
--- a/util/httpstream.lua	Fri Nov 05 02:09:56 2010 +0500
+++ b/util/httpstream.lua	Fri Nov 05 03:06:11 2010 +0500
@@ -36,6 +36,7 @@
 			key = key:lower();
 			headers[key] = headers[key] and headers[key]..","..val or val;
 		end
+		return headers;
 	end
 	
 	while true do