Changeset 890 for pjproject/trunk


Ignore:
Timestamp:
Jan 20, 2007 7:17:47 PM (18 years ago)
Author:
bennylp
Message:

Fixed ticket #65: broken pjsip-test compilation because of recent changes in transport

Location:
pjproject/trunk/pjsip/src/test-pjsip
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/test-pjsip/transport_loop_test.c

    r624 r890  
    3838    /* Test acquire transport. */ 
    3939    status = pjsip_endpt_acquire_transport( endpt, PJSIP_TRANSPORT_LOOP_DGRAM, 
    40                                             &addr, sizeof(addr), &loop); 
     40                                            &addr, sizeof(addr), NULL, &loop); 
    4141    if (status != PJ_SUCCESS) { 
    4242        app_perror("   error: loop transport is not configured", status); 
  • pjproject/trunk/pjsip/src/test-pjsip/transport_tcp_test.c

    r635 r890  
    6363    status = pjsip_endpt_acquire_transport(endpt, PJSIP_TRANSPORT_TCP,  
    6464                                           &rem_addr, sizeof(rem_addr), 
    65                                            &tcp); 
     65                                           NULL, &tcp); 
    6666    if (status != PJ_SUCCESS || tcp == NULL) { 
    6767        app_perror("   Error: unable to acquire TCP transport", status); 
  • pjproject/trunk/pjsip/src/test-pjsip/transport_udp_test.c

    r624 r890  
    6262    status = pjsip_endpt_acquire_transport(endpt, PJSIP_TRANSPORT_UDP,  
    6363                                           &rem_addr, sizeof(rem_addr), 
    64                                            &tp); 
     64                                           NULL, &tp); 
    6565    if (status != PJ_SUCCESS) 
    6666        return -50; 
  • pjproject/trunk/pjsip/src/test-pjsip/tsx_bench.c

    r619 r890  
    140140    status = pjsip_endpt_acquire_transport(endpt, PJSIP_TRANSPORT_LOOP_DGRAM,  
    141141                                           &remote, sizeof(pj_sockaddr_in), 
    142                                            &rdata.tp_info.transport); 
     142                                           NULL, &rdata.tp_info.transport); 
    143143    if (status != PJ_SUCCESS) { 
    144144        app_perror("    error: unable to get loop transport", status); 
  • pjproject/trunk/pjsip/src/test-pjsip/tsx_uac_test.c

    r563 r890  
    13531353    /* Check if loop transport is configured. */ 
    13541354    status = pjsip_endpt_acquire_transport(endpt, PJSIP_TRANSPORT_LOOP_DGRAM,  
    1355                                       &addr, sizeof(addr), &loop); 
     1355                                      &addr, sizeof(addr), NULL, &loop); 
    13561356    if (status != PJ_SUCCESS) { 
    13571357        PJ_LOG(3,(THIS_FILE, "  Error: loop transport is not configured!")); 
  • pjproject/trunk/pjsip/src/test-pjsip/tsx_uas_test.c

    r728 r890  
    15421542    /* Check if loop transport is configured. */ 
    15431543    status = pjsip_endpt_acquire_transport(endpt, PJSIP_TRANSPORT_LOOP_DGRAM,  
    1544                                       &addr, sizeof(addr), &loop); 
     1544                                      &addr, sizeof(addr), NULL, &loop); 
    15451545    if (status != PJ_SUCCESS) { 
    15461546        PJ_LOG(3,(THIS_FILE, "  Error: loop transport is not configured!")); 
Note: See TracChangeset for help on using the changeset viewer.