Diff

util/httpstream.lua @ 3563:544d9d2e3046

util.httpstream: Fixed a nil variable access introduced in the last commit.
author Waqas Hussain <waqas20@gmail.com>
date Fri, 05 Nov 2010 03:06:11 +0500
parent 3562:98f9dca3eb94
child 3564:90f4e6dc1c11
line wrap: on
line diff
--- 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