diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-01-20 19:17:47 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-01-20 19:17:47 +0000 |
commit | 30b52da8afe33e39f4cf62e539546e7da04a8a65 (patch) | |
tree | 4eefabfc30249c377eab0dc55b2d76626f0255d8 /pjsip/src/test-pjsip | |
parent | 0b083b61f09764d30aa8ae97857aa889877c1983 (diff) |
Fixed ticket #65: broken pjsip-test compilation because of recent changes in transport
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@890 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/test-pjsip')
-rw-r--r-- | pjsip/src/test-pjsip/transport_loop_test.c | 2 | ||||
-rw-r--r-- | pjsip/src/test-pjsip/transport_tcp_test.c | 2 | ||||
-rw-r--r-- | pjsip/src/test-pjsip/transport_udp_test.c | 2 | ||||
-rw-r--r-- | pjsip/src/test-pjsip/tsx_bench.c | 2 | ||||
-rw-r--r-- | pjsip/src/test-pjsip/tsx_uac_test.c | 2 | ||||
-rw-r--r-- | pjsip/src/test-pjsip/tsx_uas_test.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/pjsip/src/test-pjsip/transport_loop_test.c b/pjsip/src/test-pjsip/transport_loop_test.c index c2c122ec..ad6597dc 100644 --- a/pjsip/src/test-pjsip/transport_loop_test.c +++ b/pjsip/src/test-pjsip/transport_loop_test.c @@ -37,7 +37,7 @@ static int datagram_loop_test() /* Test acquire transport. */ status = pjsip_endpt_acquire_transport( endpt, PJSIP_TRANSPORT_LOOP_DGRAM, - &addr, sizeof(addr), &loop); + &addr, sizeof(addr), NULL, &loop); if (status != PJ_SUCCESS) { app_perror(" error: loop transport is not configured", status); return -20; diff --git a/pjsip/src/test-pjsip/transport_tcp_test.c b/pjsip/src/test-pjsip/transport_tcp_test.c index 630bd18f..87ddf68f 100644 --- a/pjsip/src/test-pjsip/transport_tcp_test.c +++ b/pjsip/src/test-pjsip/transport_tcp_test.c @@ -62,7 +62,7 @@ int transport_tcp_test(void) /* Acquire one TCP transport. */ status = pjsip_endpt_acquire_transport(endpt, PJSIP_TRANSPORT_TCP, &rem_addr, sizeof(rem_addr), - &tcp); + NULL, &tcp); if (status != PJ_SUCCESS || tcp == NULL) { app_perror(" Error: unable to acquire TCP transport", status); return -17; diff --git a/pjsip/src/test-pjsip/transport_udp_test.c b/pjsip/src/test-pjsip/transport_udp_test.c index d24d862e..4658e6ec 100644 --- a/pjsip/src/test-pjsip/transport_udp_test.c +++ b/pjsip/src/test-pjsip/transport_udp_test.c @@ -61,7 +61,7 @@ int transport_udp_test(void) pj_sockaddr_in_init(&rem_addr, pj_cstr(&s, "1.1.1.1"), 80); status = pjsip_endpt_acquire_transport(endpt, PJSIP_TRANSPORT_UDP, &rem_addr, sizeof(rem_addr), - &tp); + NULL, &tp); if (status != PJ_SUCCESS) return -50; if (tp != udp_tp) diff --git a/pjsip/src/test-pjsip/tsx_bench.c b/pjsip/src/test-pjsip/tsx_bench.c index 8e2b112b..002bc812 100644 --- a/pjsip/src/test-pjsip/tsx_bench.c +++ b/pjsip/src/test-pjsip/tsx_bench.c @@ -139,7 +139,7 @@ static int uas_tsx_bench(unsigned working_set, pj_timestamp *p_elapsed) pj_sockaddr_in_init(&remote, 0, 0); status = pjsip_endpt_acquire_transport(endpt, PJSIP_TRANSPORT_LOOP_DGRAM, &remote, sizeof(pj_sockaddr_in), - &rdata.tp_info.transport); + NULL, &rdata.tp_info.transport); if (status != PJ_SUCCESS) { app_perror(" error: unable to get loop transport", status); return status; diff --git a/pjsip/src/test-pjsip/tsx_uac_test.c b/pjsip/src/test-pjsip/tsx_uac_test.c index b97b01a9..f8899f11 100644 --- a/pjsip/src/test-pjsip/tsx_uac_test.c +++ b/pjsip/src/test-pjsip/tsx_uac_test.c @@ -1352,7 +1352,7 @@ int tsx_uac_test(struct tsx_test_param *param) /* Check if loop transport is configured. */ status = pjsip_endpt_acquire_transport(endpt, PJSIP_TRANSPORT_LOOP_DGRAM, - &addr, sizeof(addr), &loop); + &addr, sizeof(addr), NULL, &loop); if (status != PJ_SUCCESS) { PJ_LOG(3,(THIS_FILE, " Error: loop transport is not configured!")); return -10; diff --git a/pjsip/src/test-pjsip/tsx_uas_test.c b/pjsip/src/test-pjsip/tsx_uas_test.c index 8124b5af..e2e8716a 100644 --- a/pjsip/src/test-pjsip/tsx_uas_test.c +++ b/pjsip/src/test-pjsip/tsx_uas_test.c @@ -1541,7 +1541,7 @@ int tsx_uas_test(struct tsx_test_param *param) /* Check if loop transport is configured. */ status = pjsip_endpt_acquire_transport(endpt, PJSIP_TRANSPORT_LOOP_DGRAM, - &addr, sizeof(addr), &loop); + &addr, sizeof(addr), NULL, &loop); if (status != PJ_SUCCESS) { PJ_LOG(3,(THIS_FILE, " Error: loop transport is not configured!")); return -10; |