[ENet-discuss] [near-PATCH] speed optimisation and bugfix: do one memory allocat ion per packet instead of two

Benoit Germain bgermain at ubisoft.fr
Thu Dec 9 08:12:54 PST 2004


oops, I introduced a little bug in enet_packet_create: it's much better to
do:
 
if ( data )
      memcpy (packet_data(packet), data, dataLength); 
 
:-O
 

__________________________________ 
Benoit Germain 
][ Engineer 
mailto:bgermain at ubisoft.fr <mailto:bgermain at ubisoft.fr>  
__________________________________ 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.puremagic.com/pipermail/enet-discuss/attachments/20041209/64193f5f/attachment.htm


More information about the ENet-discuss mailing list