r8460 - trunk/darkplaces

havoc at icculus.org havoc at icculus.org
Tue Aug 19 09:16:28 EDT 2008


Author: havoc
Date: 2008-08-19 09:16:27 -0400 (Tue, 19 Aug 2008)
New Revision: 8460

Modified:
   trunk/darkplaces/lhnet.c
   trunk/darkplaces/lhnet.h
Log is attached.
redesigned lhnetaddress_t struct to be a generic container for sockaddr,
this fixes runtime errors on FreeBSD where sockaddr_in does not match
the one that lhnet used to use
changed lhnetaddress_t struct to have a native port value rather than
having to poke at the sockaddr variants all the time to access port
values (now only a few places set/get the actual encoded port value)


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20080819.131628.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20080819/f0187be7/attachment.diff>


More information about the twilight-commits mailing list