Changeset 476 for pjproject/trunk/pjsip/src/pjsip-ua/sip_reg.c
- Timestamp:
- May 26, 2006 12:17:46 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip-ua/sip_reg.c
r219 r476 485 485 486 486 /* Decrement pending transaction counter. */ 487 pj_assert(regc->pending_tsx > 0); 487 488 --regc->pending_tsx; 488 489 … … 610 611 cseq_hdr->cseq = cseq; 611 612 612 /* Send. */ 613 /* Increment pending transaction first, since transaction callback 614 * may be called even before send_request() returns! 615 */ 616 ++regc->pending_tsx; 613 617 status = pjsip_endpt_send_request(regc->endpt, tdata, -1, regc, &tsx_callback); 614 if (status ==PJ_SUCCESS)615 ++regc->pending_tsx;618 if (status!=PJ_SUCCESS) 619 --regc->pending_tsx; 616 620 617 621 return status;
Note: See TracChangeset
for help on using the changeset viewer.