Changeset 15
- Timestamp:
- Nov 6, 2005 5:33:51 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/main/pjlib/src/pj/sock_bsd.c
r14 r15 105 105 PJ_DEF(char*) pj_inet_ntoa(pj_in_addr inaddr) 106 106 { 107 #if !defined(PJ_LINUX) && !defined(PJ_LINUX_KERNEL) 108 return inet_ntoa(*(struct in_addr*)&inaddr); 109 #else 107 110 struct in_addr addr; 108 111 addr.s_addr = inaddr.s_addr; 109 112 return inet_ntoa(addr); 113 #endif 110 114 } 111 115
Note: See TracChangeset
for help on using the changeset viewer.