mirror of
https://github.com/lsalzman/enet
synced 2024-11-21 14:29:05 -07:00
Se trecvLength = 0;
This commit is contained in:
parent
92bf2d8256
commit
007b7d2a3f
1 changed files with 1 additions and 1 deletions
2
unix.c
2
unix.c
|
@ -475,7 +475,7 @@ enet_socket_receive (ENetSocket socket,
|
|||
{
|
||||
struct msghdr msgHdr;
|
||||
struct sockaddr_in sin;
|
||||
int recvLength;
|
||||
int recvLength = 0;
|
||||
|
||||
memset (& msgHdr, 0, sizeof (struct msghdr));
|
||||
|
||||
|
|
Loading…
Reference in a new issue