Ignore:
Timestamp:
Dec 3, 2007 12:40:58 AM (16 years ago)
Author:
bennylp
Message:

Fixed compilation errors/warnings on Linux with the recent IPv6 commits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjstun-srv-test/turn_usage.c

    r1485 r1611  
    770770 
    771771    if (client->alloc_addr.sin_addr.s_addr == 0) { 
    772         status = pj_gethostip(&client->alloc_addr.sin_addr); 
     772        status = pj_gethostip(pj_AF_INET(), (pj_sockaddr*)&client->alloc_addr.sin_addr); 
    773773        if (status != PJ_SUCCESS) { 
    774774            pj_sock_close(client->sock); 
Note: See TracChangeset for help on using the changeset viewer.