Changeset 1266 for pjproject/trunk/pjsip/src/test-pjsip/tsx_bench.c
- Timestamp:
- May 11, 2007 3:14:34 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/test-pjsip/tsx_bench.c
r974 r1266 54 54 55 55 /* Create transaction array */ 56 tsx = pj_pool_zalloc(request->pool, working_set * sizeof(pj_pool_t*));56 tsx = (pjsip_transaction**) pj_pool_zalloc(request->pool, working_set * sizeof(pj_pool_t*)); 57 57 58 58 pj_bzero(&mod_tsx_user, sizeof(mod_tsx_user)); … … 131 131 rdata.tp_info.pool = request->pool; 132 132 rdata.msg_info.msg = request->msg; 133 rdata.msg_info.from = pjsip_msg_find_hdr(request->msg, PJSIP_H_FROM, NULL);134 rdata.msg_info.to = pjsip_msg_find_hdr(request->msg, PJSIP_H_TO, NULL);135 rdata.msg_info.cseq = pjsip_msg_find_hdr(request->msg, PJSIP_H_CSEQ, NULL);136 rdata.msg_info.cid = pjsip_msg_find_hdr(request->msg, PJSIP_H_FROM, NULL);133 rdata.msg_info.from = (pjsip_from_hdr*) pjsip_msg_find_hdr(request->msg, PJSIP_H_FROM, NULL); 134 rdata.msg_info.to = (pjsip_to_hdr*) pjsip_msg_find_hdr(request->msg, PJSIP_H_TO, NULL); 135 rdata.msg_info.cseq = (pjsip_cseq_hdr*) pjsip_msg_find_hdr(request->msg, PJSIP_H_CSEQ, NULL); 136 rdata.msg_info.cid = (pjsip_cid_hdr*) pjsip_msg_find_hdr(request->msg, PJSIP_H_FROM, NULL); 137 137 rdata.msg_info.via = via; 138 138 … … 148 148 149 149 /* Create transaction array */ 150 tsx = pj_pool_zalloc(request->pool, working_set * sizeof(pj_pool_t*));150 tsx = (pjsip_transaction**) pj_pool_zalloc(request->pool, working_set * sizeof(pj_pool_t*)); 151 151 152 152 pj_bzero(&mod_tsx_user, sizeof(mod_tsx_user));
Note: See TracChangeset
for help on using the changeset viewer.