diff --git a/packet.c b/packet.c index db6f2d4..e1ae9c4 100644 --- a/packet.c +++ b/packet.c @@ -30,11 +30,11 @@ enet_packet_create (const void * data, size_t dataLength, enet_uint32 flags) { enet_free (packet); return NULL; - }; + } if (data != NULL) memcpy (packet -> data, data, dataLength); - }; + } packet -> referenceCount = 0; packet -> flags = flags;