Changeset 582 for pjproject/trunk/pjsip/src/pjsip/sip_transport.c
- Timestamp:
- Jul 3, 2006 3:19:31 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_transport.c
r576 r582 596 596 /* Init. */ 597 597 tp->tpmgr = mgr; 598 pj_ memset(&tp->idle_timer, 0, sizeof(tp->idle_timer));598 pj_bzero(&tp->idle_timer, sizeof(tp->idle_timer)); 599 599 tp->idle_timer.user_data = tp; 600 600 tp->idle_timer.cb = &transport_idle_callback; … … 927 927 * to report some errors. 928 928 */ 929 pj_ memset(&rdata->msg_info, 0, sizeof(rdata->msg_info));929 pj_bzero(&rdata->msg_info, sizeof(rdata->msg_info)); 930 930 pj_list_init(&rdata->msg_info.parse_err); 931 931 rdata->msg_info.msg_buf = current_pkt; … … 1098 1098 pj_sockaddr_in *addr = (pj_sockaddr_in*)&key.addr; 1099 1099 1100 pj_ memset(addr, 0, sizeof(pj_sockaddr_in));1100 pj_bzero(addr, sizeof(pj_sockaddr_in)); 1101 1101 key_len = sizeof(key.type) + sizeof(pj_sockaddr_in); 1102 1102 transport = pj_hash_get(mgr->table, &key, key_len, NULL); … … 1109 1109 pj_sockaddr_in *addr = (pj_sockaddr_in*)&key.addr; 1110 1110 1111 pj_ memset(addr, 0, sizeof(pj_sockaddr_in));1111 pj_bzero(addr, sizeof(pj_sockaddr_in)); 1112 1112 addr->sin_family = PJ_AF_INET; 1113 1113
Note: See TracChangeset
for help on using the changeset viewer.