mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-19 07:20:50 +00:00
memcpy->memmove pointed out by Philippe Troin
This commit is contained in:
parent
8166af6d47
commit
36a9ccb01a
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue