mirror of
https://github.com/ShaYmez/NXDNClients.git
synced 2024-11-22 07:24:49 -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;
|
||||
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)
|
||||
return 0U;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user