Changeset 1241 for pjproject/trunk/pjsip/src/pjsip/sip_transport_loop.c
- Timestamp:
- May 2, 2007 5:14:29 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_transport_loop.c
r974 r1241 79 79 return NULL; 80 80 81 pkt = pj_pool_zalloc(pool, sizeof(struct recv_list));81 pkt = PJ_POOL_ZALLOC_T(pool, struct recv_list); 82 82 83 83 /* Initialize rdata. */ … … 121 121 pjsip_tx_data_add_ref(tdata); 122 122 pj_lock_acquire(tdata->lock); 123 sent_status = pj_pool_alloc(tdata->pool, sizeof(struct send_list));123 sent_status = PJ_POOL_ALLOC_T(tdata->pool, struct send_list); 124 124 pj_lock_release(tdata->lock); 125 125 … … 254 254 static int loop_transport_worker_thread(void *arg) 255 255 { 256 struct loop_transport *loop = arg;256 struct loop_transport *loop = (struct loop_transport*) arg; 257 257 struct recv_list r; 258 258 struct send_list s; … … 357 357 358 358 /* Create the loop structure. */ 359 loop = pj_pool_zalloc(pool, sizeof(struct loop_transport));359 loop = PJ_POOL_ZALLOC_T(pool, struct loop_transport); 360 360 361 361 /* Initialize transport properties. */
Note: See TracChangeset
for help on using the changeset viewer.