Ignore:
Timestamp:
Apr 28, 2009 7:38:43 PM (15 years ago)
Author:
nanang
Message:

Ticket #706: Merged branch vs-reorg2 into trunk:

  • Currently supported platforms are: Win32, WM6 std & pro, WM5 SP & PPC, WM2003 SP & PPC.
  • Added libpjproject into solution, this is a single 'combo' library that bundles all PJSIP libraries.
  • Cleaned up most of compile warnings, note that warning level of libgsmcodec has been reduced from 4 to 3.
Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk

  • pjproject/trunk/pjsip/src/test/transport_test.c

    r2638 r2660  
    160160                              pj_ssize_t sent, pj_bool_t *cont) 
    161161{ 
     162    PJ_UNUSED_ARG(stateless_data); 
     163 
    162164    if (sent < 1) { 
    163165        /* Obtain the error code. */ 
     
    184186    pjsip_tx_data *tdata; 
    185187    pj_time_val timeout; 
     188 
     189    PJ_UNUSED_ARG(tp_type); 
     190    PJ_UNUSED_ARG(ref_tp); 
    186191 
    187192    PJ_LOG(3,(THIS_FILE, "  single message round-trip test...")); 
     
    491496    pj_time_val poll_delay = { 0, 10 }; 
    492497 
     498    PJ_UNUSED_ARG(arg); 
     499 
    493500    /* Sleep to allow main threads to run. */ 
    494501    pj_thread_sleep(10); 
     
    521528    unsigned total_recv; 
    522529 
     530    PJ_UNUSED_ARG(tp_type); 
     531    PJ_UNUSED_ARG(ref_tp); 
     532 
    523533    PJ_LOG(3,(THIS_FILE, "  multithreaded round-trip test (%d threads)...", 
    524534                  THREADS)); 
     
    551561    for (i=0; i<THREADS; ++i) { 
    552562        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); 
    555566        pj_bzero(&rt_test_data[i], sizeof(rt_test_data[i])); 
    556567 
     
    564575        rt_test_data[i].call_id.ptr = (char*) pj_pool_alloc(pool, rt_call_id.slen+1); 
    565576        pj_strcpy(&rt_test_data[i].call_id, &rt_call_id); 
    566         buf[0] = '0' + i; 
     577        buf[0] = '0' + (char)i; 
    567578        pj_strcat(&rt_test_data[i].call_id, &str_id); 
    568579 
Note: See TracChangeset for help on using the changeset viewer.