Changeset 220 for pjproject/trunk/pjsip/src/pjsua/pjsua_inv.c
- Timestamp:
- Feb 22, 2006 10:23:22 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua/pjsua_inv.c
r216 r220 833 833 } 834 834 835 /* pjsip_inv_end_session may return PJ_SUCCESS with NULL 836 * as p_tdata when INVITE transaction has not been answered 837 * with any provisional responses. 838 */ 839 if (tdata == NULL) 840 return; 841 835 842 status = pjsip_inv_send_msg(inv_session->inv, tdata, NULL); 836 843 if (status != PJ_SUCCESS) { … … 975 982 next = inv_data->next; 976 983 977 if (pjsip_inv_end_session(inv_data->inv, 410, NULL, &tdata)==0) 978 pjsip_inv_send_msg(inv_data->inv, tdata, NULL); 984 if (pjsip_inv_end_session(inv_data->inv, 410, NULL, &tdata)==0) { 985 if (tdata) 986 pjsip_inv_send_msg(inv_data->inv, tdata, NULL); 987 } 979 988 980 989 inv_data = next;
Note: See TracChangeset
for help on using the changeset viewer.