mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Improve open error for files from network
This commit is contained in:
parent
36311cab2d
commit
2fd78b36e7
5 changed files with 81 additions and 20 deletions
|
@ -1617,6 +1617,12 @@ BF_EXPORT int HTTP_GetResult(NetResult* netResult, int waitMS)
|
|||
}
|
||||
}
|
||||
|
||||
BF_EXPORT void HTTP_GetLastError(NetResult* netResult, const char** error, int* errorLength)
|
||||
{
|
||||
*error = netResult->mError.GetPtr();
|
||||
*errorLength = netResult->mError.GetLength();
|
||||
}
|
||||
|
||||
BF_EXPORT void HTTP_Delete(NetResult* netResult)
|
||||
{
|
||||
if (!netResult->mDoneEvent->WaitFor(0))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue