This commit is contained in:
Jak Barnes 2019-04-20 12:45:21 +01:00
commit 0e1078c13d

View file

@ -1299,8 +1299,8 @@ void SocketUnsetChannel(Socket *socket, int channel)
}
}
/* Allocate/free a single UDP packet 'size' bytes long.
The new packet is returned, or NULL if the function ran out of memory.
/* Allocate/free a single UDP packet 'size' bytes long.
The new packet is returned, or NULL if the function ran out of memory.
*/
SocketDataPacket *AllocPacket(int size)
{
@ -1349,10 +1349,10 @@ void FreePacket(SocketDataPacket *packet)
}
}
/* Allocate/Free a UDP packet vector (array of packets) of 'howmany' packets,
each 'size' bytes long.
A pointer to the packet array is returned, or NULL if the function ran out
of memory.
/* Allocate/Free a UDP packet vector (array of packets) of 'howmany' packets,
each 'size' bytes long.
A pointer to the packet array is returned, or NULL if the function ran out
of memory.
*/
SocketDataPacket **AllocPacketList(int howmany, int size)
{