소스 검색

*** empty log message ***

eihrul 17 년 전
부모
커밋
0a373938f7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      protocol.c

+ 1 - 1
protocol.c

@@ -740,7 +740,7 @@ enet_protocol_handle_verify_connect (ENetHost * host, ENetEvent * event, ENetPee
     enet_uint32 windowSize;
 
     if (peer -> state != ENET_PEER_STATE_CONNECTING)
-      return -1;
+      return 0;
 
     if (ENET_NET_TO_HOST_32 (command -> verifyConnect.channelCount) != peer -> channelCount ||
         ENET_NET_TO_HOST_32 (command -> verifyConnect.packetThrottleInterval) != peer -> packetThrottleInterval ||