瀏覽代碼

*** empty log message ***

eihrul 18 年之前
父節點
當前提交
050cf18c96
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packet.c

+ 2 - 2
packet.c

@@ -30,11 +30,11 @@ enet_packet_create (const void * data, size_t dataLength, enet_uint32 flags)
        {
        {
           enet_free (packet);
           enet_free (packet);
           return NULL;
           return NULL;
-       };
+       }
 
 
        if (data != NULL)
        if (data != NULL)
          memcpy (packet -> data, data, dataLength);
          memcpy (packet -> data, data, dataLength);
-    };
+    }
 
 
     packet -> referenceCount = 0;
     packet -> referenceCount = 0;
     packet -> flags = flags;
     packet -> flags = flags;