diff options
author | Maxim <[email protected]> | 2020-04-07 12:48:10 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-07 12:48:10 +0200 |
commit | 007b7d2a3f81505f615eda40f6795b95a2208bee (patch) | |
tree | 7a34a6873914c36c212d4a65b2e8a8d88cef79d2 | |
parent | 92bf2d8256a5b87e6de9f7305d26148642b68fd2 (diff) | |
download | enet-007b7d2a3f81505f615eda40f6795b95a2208bee.tar.gz enet-007b7d2a3f81505f615eda40f6795b95a2208bee.zip |
Se trecvLength = 0;
-rw-r--r-- | unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |