Changeset 756 for pjproject/trunk
- Timestamp:
- Oct 8, 2006 4:59:38 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_transaction.c
r675 r756 2393 2393 pjsip_endpt_cancel_timer( tsx->endpt, &tsx->timeout_timer ); 2394 2394 2395 /* Generate ACK now (for INVITE) but send it later because 2396 * dialog need to use last_tx. 2397 */ 2395 /* Generate and send ACK (for INVITE) */ 2398 2396 if (tsx->method.id == PJSIP_INVITE_METHOD) { 2399 2397 pj_status_t status; … … 2404 2402 if (status != PJ_SUCCESS) 2405 2403 return status; 2404 2405 status = tsx_send_msg( tsx, ack_tdata); 2406 if (status != PJ_SUCCESS) 2407 return status; 2406 2408 } 2407 2409 … … 2412 2414 /* Generate and send ACK for INVITE. */ 2413 2415 if (tsx->method.id == PJSIP_INVITE_METHOD) { 2414 pj_status_t status;2415 2416 status = tsx_send_msg( tsx, ack_tdata);2417 2418 2416 if (ack_tdata != tsx->last_tx) { 2419 2417 pjsip_tx_data_dec_ref(tsx->last_tx); … … 2426 2424 pjsip_tx_data_add_ref(ack_tdata); 2427 2425 */ 2428 }2429 2430 if (status != PJ_SUCCESS) {2431 return status;2432 2426 } 2433 2427 }
Note: See TracChangeset
for help on using the changeset viewer.