Network/SocketImpl: Fix QueryAvailableBytes error handling on Windows
Former-commit-id: 7b1c17a66416201ebea620eb8f992092b511adb8
This commit is contained in:
parent
328083638e
commit
8935aa895d
|
|
@ -266,7 +266,7 @@ namespace Nz
|
|||
if (error)
|
||||
*error = TranslateWSAErrorToSocketError(WSAGetLastError());
|
||||
|
||||
availableBytes = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (error)
|
||||
|
|
|
|||
Loading…
Reference in New Issue