Ignore:
Timestamp:
Jul 3, 2006 3:19:31 PM (18 years ago)
Author:
bennylp
Message:

Change all pj_memset to pj_bzero(), where applicable

File:
1 edited

Legend:

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

    r563 r582  
    266266 
    267267    /* Modify dummy_rdata to simulate receiving response. */ 
    268     pj_memset(&dummy_rdata, 0, sizeof(dummy_rdata)); 
     268    pj_bzero(&dummy_rdata, sizeof(dummy_rdata)); 
    269269    dummy_rdata.msg_info.msg = response->msg; 
    270270    dummy_rdata.msg_info.to = HFIND(response->msg, to, TO); 
     
    633633 
    634634    for (i=0; i<LOOP; i+=COUNT) { 
    635         pj_memset(tdata, 0, sizeof(tdata)); 
     635        pj_bzero(tdata, sizeof(tdata)); 
    636636 
    637637        pj_get_timestamp(&t1); 
     
    712712 
    713713    /* Create "dummy" rdata from the tdata */ 
    714     pj_memset(&rdata, 0, sizeof(pjsip_rx_data)); 
     714    pj_bzero(&rdata, sizeof(pjsip_rx_data)); 
    715715    rdata.tp_info.pool = request->pool; 
    716716    rdata.msg_info.msg = request->msg; 
     
    727727 
    728728    for (i=0; i<LOOP; i+=COUNT) { 
    729         pj_memset(tdata, 0, sizeof(tdata)); 
     729        pj_bzero(tdata, sizeof(tdata)); 
    730730 
    731731        pj_get_timestamp(&t1); 
Note: See TracChangeset for help on using the changeset viewer.