mirror of
https://github.com/lsalzman/enet
synced 2024-11-21 06:25:59 -07:00
*** empty log message ***
This commit is contained in:
parent
54ecd741df
commit
050cf18c96
1 changed files with 2 additions and 2 deletions
4
packet.c
4
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;
|
||||
|
|
Loading…
Reference in a new issue