From 1cd08e36c153f0ed30c657b6ff0e7deb379bba39 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Mon, 7 Feb 2011 19:36:44 -0200 Subject: Fix bug of missing local declarations which resulted in downloads being "propagated" between calls. --- src/luarocks/fs/lua.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/src/luarocks/fs/lua.lua b/src/luarocks/fs/lua.lua index 3a547fe5..d9e717c1 100644 --- a/src/luarocks/fs/lua.lua +++ b/src/luarocks/fs/lua.lua @@ -490,6 +490,7 @@ local function http_request(url, http) url_arg = url end local res, status, headers, line = http.request(url_arg) + local content, err if not res then err = status elseif status ~= 200 then -- cgit v1.2.3-55-g6feb