Changeset 502 for pjproject/trunk
- Timestamp:
- Jun 13, 2006 10:25:05 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_auth_client.c
r401 r502 611 611 hauth = pjsip_hdr_shallow_clone(tdata->pool, entry->hdr); 612 612 pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr*)hauth); 613 } else { 614 # if defined(PJSIP_AUTH_AUTO_SEND_NEXT) && \ 615 PJSIP_AUTH_AUTO_SEND_NEXT!=0 616 { 617 new_auth_for_req( tdata, sess, auth, NULL); 618 } 619 # endif 613 break; 620 614 } 621 615 entry = entry->next; 622 616 } 617 618 # if defined(PJSIP_AUTH_AUTO_SEND_NEXT) && \ 619 PJSIP_AUTH_AUTO_SEND_NEXT!=0 620 { 621 if (entry == &auth->cached_hdr) 622 new_auth_for_req( tdata, sess, auth, NULL); 623 } 624 # endif 625 623 626 } 624 627 # elif defined(PJSIP_AUTH_AUTO_SEND_NEXT) && \ … … 826 829 via->branch_param.slen = 0; 827 830 831 /* Must invalidate the message! */ 832 pjsip_tx_data_invalidate_msg(tdata); 833 828 834 /* Increment reference counter. */ 829 835 pjsip_tx_data_add_ref(tdata);
Note: See TracChangeset
for help on using the changeset viewer.