Ignore:
Timestamp:
Nov 6, 2005 4:50:38 PM (18 years ago)
Author:
bennylp
Message:

Tested new ioqueue framework on Linux with select and epoll

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/main/pjlib/src/pj/sock_bsd.c

    r12 r14  
    105105PJ_DEF(char*) pj_inet_ntoa(pj_in_addr inaddr) 
    106106{ 
    107     return inet_ntoa(*(struct in_addr*)&inaddr); 
     107    struct in_addr addr; 
     108    addr.s_addr = inaddr.s_addr; 
     109    return inet_ntoa(addr); 
    108110} 
    109111 
Note: See TracChangeset for help on using the changeset viewer.