mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-25 14:05:39 -04:00
Merge branch 'master' of github.com:MightyPirates/OpenComputers into MC1.7
This commit is contained in:
commit
c46230e796
@ -38,10 +38,10 @@ function internet.request(url, data)
|
||||
while true do
|
||||
local data, reason = inet.read(handle.value)
|
||||
if not data then
|
||||
inet.close(handle.value)
|
||||
if reason then
|
||||
error(reason, 2)
|
||||
else
|
||||
inet.close(handle.value)
|
||||
return nil -- eof
|
||||
end
|
||||
elseif #data > 0 then
|
||||
|
Loading…
x
Reference in New Issue
Block a user