# HG changeset patch # User Waqas Hussain # Date 1288908371 -18000 # Node ID 544d9d2e3046f68fedc22dd46df803416252dc0e # Parent 98f9dca3eb94a2ae2670bc79a87798717aacf908 util.httpstream: Fixed a nil variable access introduced in the last commit. diff -r 98f9dca3eb94 -r 544d9d2e3046 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