Skip to content

Commit 27446b1

Browse files
committed
Merge pull request #2106 from block8437/development
Fixed a typo where the value of outBytesWritten was being clamped incorrectly.
1 parent 840d53c commit 27446b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Engine/source/platform/platformNet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1706,7 +1706,7 @@ Net::Error Net::send(NetSocket handleFd, const U8 *buffer, S32 bufferSize, S32 *
17061706

17071707
if (outBytesWritten)
17081708
{
1709-
*outBytesWritten = outBytesWritten < 0 ? 0 : bytesWritten;
1709+
*outBytesWritten = *outBytesWritten < 0 ? 0 : bytesWritten;
17101710
}
17111711

17121712
return PlatformNetState::getLastError();

0 commit comments

Comments
 (0)