mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-02 03:53:50 +00:00
Merge pull request #2106 from block8437/development
Fixed a typo where the value of outBytesWritten was being clamped incorrectly.
This commit is contained in:
commit
48f50d19c3
1 changed files with 1 additions and 1 deletions
|
|
@ -1672,7 +1672,7 @@ Net::Error Net::send(NetSocket handleFd, const U8 *buffer, S32 bufferSize, S32 *
|
|||
|
||||
if (outBytesWritten)
|
||||
{
|
||||
*outBytesWritten = outBytesWritten < 0 ? 0 : bytesWritten;
|
||||
*outBytesWritten = *outBytesWritten < 0 ? 0 : bytesWritten;
|
||||
}
|
||||
|
||||
return PlatformNetState::getLastError();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue