Network/SocketImpl: Fix QueryAvailableBytes error handling on Windows

Former-commit-id: 7b1c17a66416201ebea620eb8f992092b511adb8
This commit is contained in:
Lynix 2015-11-13 13:07:49 +01:00
parent 328083638e
commit 8935aa895d
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ namespace Nz
if (error)
*error = TranslateWSAErrorToSocketError(WSAGetLastError());
availableBytes = 0;
return 0;
}
if (error)