summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/httpclient/luasrc/httpclient/receiver.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/httpclient/luasrc/httpclient/receiver.lua b/libs/httpclient/luasrc/httpclient/receiver.lua
index 55992736f..c12a673b3 100644
--- a/libs/httpclient/luasrc/httpclient/receiver.lua
+++ b/libs/httpclient/luasrc/httpclient/receiver.lua
@@ -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