Fixed last commit
authorSteven Barth <steven@midlink.org>
Fri, 6 Mar 2009 17:20:42 +0000 (17:20 +0000)
committerSteven Barth <steven@midlink.org>
Fri, 6 Mar 2009 17:20:42 +0000 (17:20 +0000)
libs/httpclient/luasrc/httpclient/receiver.lua

index 5599273..c12a673 100644 (file)
@@ -207,7 +207,7 @@ function request_to_file(uri, target, options, cbs)
                if stat[1] == false then
                        file:close()
                        sock:close()
-                       return false, unpack(stat, 2)
+                       return unpack(stat)
                end
        end