2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 02:27:40 -04:00

Replace MemMove, MemCopy, and MemCmp.

This commit is contained in:
Darryl Pogue
2012-01-21 16:25:33 -08:00
committed by Adam Johnson
parent eb946f76a4
commit a14a171774
25 changed files with 56 additions and 56 deletions

View File

@ -528,7 +528,7 @@ void CSocket::OnReadReady () {
if (notify.bytesProcessed >= m_readBytes)
m_readBytes = 0;
else if (notify.bytesProcessed) {
MemMove(
memmove(
&m_readBuffer[0],
&m_readBuffer[notify.bytesProcessed],
m_readBytes - notify.bytesProcessed
@ -578,7 +578,7 @@ void CSocket::OnWriteReady () {
if ((unsigned)result == m_sendQueue.Bytes())
m_sendQueue.Clear();
else if (result) {
MemMove(
memmove(
&m_sendQueue[0],
&m_sendQueue[result],
m_sendQueue.Bytes() - result