Ignore:
Timestamp:
Jul 20, 2007 8:08:30 AM (12 years ago)
Author:
bennylp
Message:

Ticket #354: build PJLIB as dynamic libraries (.DSO) in Symbian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transport_tcp.c

    r1269 r1405  
    240240 
    241241    /* Create and bind socket */ 
    242     status = pj_sock_socket(PJ_AF_INET, PJ_SOCK_STREAM, 0, &listener->sock); 
     242    status = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0,  
     243                            &listener->sock); 
    243244    if (status != PJ_SUCCESS) 
    244245        goto on_error; 
     
    788789 
    789790    /* Check that address is a sockaddr_in */ 
    790     PJ_ASSERT_RETURN(rem_addr->addr.sa_family == PJ_AF_INET && 
     791    PJ_ASSERT_RETURN(rem_addr->addr.sa_family == pj_AF_INET() && 
    791792                     addr_len == sizeof(pj_sockaddr_in), PJ_EINVAL); 
    792793 
     
    796797     
    797798    /* Create socket */ 
    798     status = pj_sock_socket(PJ_AF_INET, PJ_SOCK_STREAM, 0, &sock); 
     799    status = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, &sock); 
    799800    if (status != PJ_SUCCESS) 
    800801        return status; 
Note: See TracChangeset for help on using the changeset viewer.