summaryrefslogtreecommitdiffhomepage
path: root/libs/httpclient
diff options
context:
space:
mode:
Diffstat (limited to 'libs/httpclient')
-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 55503f14b..0311090db 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 true, nil, nil, unpack(stat, 2)
+ return false, nil, nil, unpack(stat, 2)
end
end