mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-13 08:04:03 +09:00
geturl.js
This commit is contained in:
@@ -628,7 +628,10 @@ _TVDOS.DRV.FS.NET.sread = (fd) => {
|
||||
com.sendMessage(port[0], "GET " + url)
|
||||
com.waitUntilReady(port[0])
|
||||
|
||||
return com.pullMessage(port[0])
|
||||
if (com.getStatusCode(port[0]) == 0)
|
||||
return com.pullMessage(port[0])
|
||||
else
|
||||
return null
|
||||
}
|
||||
|
||||
_TVDOS.DRV.FS.NET.flush = () => {}
|
||||
|
||||
Reference in New Issue
Block a user