util.httpstream: Fixed a nil variable access introduced in the last commit.

Fri, 05 Nov 2010 03:06:11 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
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 file | annotate | diff | comparison | revisions
--- 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

mercurial