mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-04 02:55:50 +03:00
Merge pull request #376 from In-line/patch-4
Use __func__ in NET_GetLong.
This commit is contained in:
commit
a28a401a99
@ -890,7 +890,7 @@ qboolean NET_GetLong(unsigned char *pData, int size, int *outSize)
|
|||||||
unsigned int packetPayloadSize = size - sizeof(SPLITPACKET);
|
unsigned int packetPayloadSize = size - sizeof(SPLITPACKET);
|
||||||
if (gNetSplitFlags[packetNumber] == sequenceNumber)
|
if (gNetSplitFlags[packetNumber] == sequenceNumber)
|
||||||
{
|
{
|
||||||
Con_NetPrintf("NET_GetLong: Ignoring duplicated split packet %i of %i ( %i bytes )\n", packetNumber + 1, packetCount, packetPayloadSize);
|
Con_NetPrintf("%s: Ignoring duplicated split packet %i of %i ( %i bytes )\n", __func__, packetNumber + 1, packetCount, packetPayloadSize);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user