Changeset 582 for pjproject/trunk/pjsip/src/test-pjsip/txdata_test.c
- Timestamp:
- Jul 3, 2006 3:19:31 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/test-pjsip/txdata_test.c
r563 r582 266 266 267 267 /* Modify dummy_rdata to simulate receiving response. */ 268 pj_ memset(&dummy_rdata, 0, sizeof(dummy_rdata));268 pj_bzero(&dummy_rdata, sizeof(dummy_rdata)); 269 269 dummy_rdata.msg_info.msg = response->msg; 270 270 dummy_rdata.msg_info.to = HFIND(response->msg, to, TO); … … 633 633 634 634 for (i=0; i<LOOP; i+=COUNT) { 635 pj_ memset(tdata, 0, sizeof(tdata));635 pj_bzero(tdata, sizeof(tdata)); 636 636 637 637 pj_get_timestamp(&t1); … … 712 712 713 713 /* Create "dummy" rdata from the tdata */ 714 pj_ memset(&rdata, 0, sizeof(pjsip_rx_data));714 pj_bzero(&rdata, sizeof(pjsip_rx_data)); 715 715 rdata.tp_info.pool = request->pool; 716 716 rdata.msg_info.msg = request->msg; … … 727 727 728 728 for (i=0; i<LOOP; i+=COUNT) { 729 pj_ memset(tdata, 0, sizeof(tdata));729 pj_bzero(tdata, sizeof(tdata)); 730 730 731 731 pj_get_timestamp(&t1);
Note: See TracChangeset
for help on using the changeset viewer.