- Timestamp:
- Apr 27, 2009 7:18:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/vs-reorg2/pjsip/src/test/transport_test.c
r2638 r2654 160 160 pj_ssize_t sent, pj_bool_t *cont) 161 161 { 162 PJ_UNUSED_ARG(stateless_data); 163 162 164 if (sent < 1) { 163 165 /* Obtain the error code. */ … … 184 186 pjsip_tx_data *tdata; 185 187 pj_time_val timeout; 188 189 PJ_UNUSED_ARG(tp_type); 190 PJ_UNUSED_ARG(ref_tp); 186 191 187 192 PJ_LOG(3,(THIS_FILE, " single message round-trip test...")); … … 491 496 pj_time_val poll_delay = { 0, 10 }; 492 497 498 PJ_UNUSED_ARG(arg); 499 493 500 /* Sleep to allow main threads to run. */ 494 501 pj_thread_sleep(10); … … 521 528 unsigned total_recv; 522 529 530 PJ_UNUSED_ARG(tp_type); 531 PJ_UNUSED_ARG(ref_tp); 532 523 533 PJ_LOG(3,(THIS_FILE, " multithreaded round-trip test (%d threads)...", 524 534 THREADS)); … … 551 561 for (i=0; i<THREADS; ++i) { 552 562 char buf[1]; 553 pj_str_t str_id = { buf, 1 }; 554 563 pj_str_t str_id; 564 565 pj_strset(&str_id, buf, 1); 555 566 pj_bzero(&rt_test_data[i], sizeof(rt_test_data[i])); 556 567 … … 564 575 rt_test_data[i].call_id.ptr = (char*) pj_pool_alloc(pool, rt_call_id.slen+1); 565 576 pj_strcpy(&rt_test_data[i].call_id, &rt_call_id); 566 buf[0] = '0' + i;577 buf[0] = '0' + (char)i; 567 578 pj_strcat(&rt_test_data[i].call_id, &str_id); 568 579
Note: See TracChangeset
for help on using the changeset viewer.