Changeset 1302 for pjproject/trunk/pjlib/src/pj/sock_bsd.c
- Timestamp:
- May 25, 2007 11:28:34 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/sock_bsd.c
r1266 r1302 121 121 122 122 #if defined(PJ_SOCKADDR_HAS_LEN) && PJ_SOCKADDR_HAS_LEN!=0 123 # define SET_LEN(addr,len) (((pj_sockaddr *)(addr))->sa_zero_len=(len))124 # define RESET_LEN(addr) (((pj_sockaddr *)(addr))->sa_zero_len=0)123 # define SET_LEN(addr,len) (((pj_sockaddr_in*)(addr))->sin_zero_len=(len)) 124 # define RESET_LEN(addr) (((pj_sockaddr_in*)(addr))->sin_zero_len=0) 125 125 #else 126 126 # define SET_LEN(addr,len)
Note: See TracChangeset
for help on using the changeset viewer.