mirror of
https://github.com/ShaYmez/xlxd.git
synced 2024-11-15 20:51:51 -05:00
Merge pull request #179 from yo2loj/patch-1
Update buffer allocation to the correct size
This commit is contained in:
commit
11f3f9aa51
@ -92,7 +92,7 @@ int CRawSocket::Receive(CBuffer *Buffer, CIp *Ip, int timeout)
|
||||
if ( m_Socket != -1 )
|
||||
{
|
||||
// allocate buffer
|
||||
Buffer->resize(UDP_BUFFER_LENMAX);
|
||||
Buffer->resize(RAW_BUFFER_LENMAX);
|
||||
|
||||
// control socket
|
||||
FD_ZERO(&FdSet);
|
||||
|
Loading…
Reference in New Issue
Block a user