mirror of
https://github.com/ShaYmez/NXDNClients.git
synced 2024-11-15 12:31:50 -05:00
Fix silly bug.
This commit is contained in:
parent
c54330e414
commit
cd6dda2967
@ -86,7 +86,7 @@ unsigned int CNXCoreNetwork::read(unsigned char* data)
|
|||||||
|
|
||||||
in_addr address;
|
in_addr address;
|
||||||
unsigned int port;
|
unsigned int port;
|
||||||
int length = m_socket.read(data, BUFFER_LENGTH, address, port);
|
int length = m_socket.read(buffer, BUFFER_LENGTH, address, port);
|
||||||
if (length <= 0)
|
if (length <= 0)
|
||||||
return 0U;
|
return 0U;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user