memcpy->memmove pointed out by Philippe Troin

This commit is contained in:
Bill Currie 2009-12-20 05:59:22 +00:00 committed by Jeff Teunissen
parent 8166af6d47
commit 36a9ccb01a

View file

@ -165,8 +165,8 @@ Loop_GetMessage (qsocket_t * sock)
sock->receiveMessageLength -= length;
if (sock->receiveMessageLength)
memcpy (sock->receiveMessage, &sock->receiveMessage[length],
sock->receiveMessageLength);
memmove (sock->receiveMessage, &sock->receiveMessage[length],
sock->receiveMessageLength);
if (sock->driverdata && ret == 1)
((qsocket_t *) sock->driverdata)->canSend = true;