Explorar o código

Se trecvLength = 0;

Maxim %!s(int64=5) %!d(string=hai) anos
pai
achega
007b7d2a3f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      unix.c

+ 1 - 1
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));