diff options
author | eihrul <eihrul> | 2007-03-27 06:39:40 +0000 |
---|---|---|
committer | eihrul <eihrul> | 2007-03-27 06:39:40 +0000 |
commit | 050cf18c9644ecf797fd856ee9e49dd4124f4899 (patch) | |
tree | fb133d7fb29a856e45d283ac867d5b925cba738c /packet.c | |
parent | 54ecd741df85fec090152caaac7c912560de575c (diff) | |
download | enet-050cf18c9644ecf797fd856ee9e49dd4124f4899.tar.gz enet-050cf18c9644ecf797fd856ee9e49dd4124f4899.zip |
*** empty log message ***
Diffstat (limited to 'packet.c')
-rw-r--r-- | packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |