Changeset 4300 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_dump.c
- Timestamp:
- Nov 26, 2012 2:04:17 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_dump.c
r4254 r4300 889 889 int len; 890 890 pjsip_inv_session *inv = pjsua_var.calls[call_id].inv; 891 pjsip_dialog *dlg = inv->dlg;891 pjsip_dialog *dlg; 892 892 char userinfo[128]; 893 893 894 894 /* Dump invite sesion info. */ 895 895 896 dlg = (inv? inv->dlg: pjsua_var.calls[call_id].async_call.dlg); 896 897 len = pjsip_hdr_print_on(dlg->remote.info, userinfo, sizeof(userinfo)); 897 898 if (len < 0) … … 902 903 len = pj_ansi_snprintf(buf, size, "%s[%s] %s", 903 904 title, 904 pjsip_inv_state_name(inv->state), 905 pjsip_inv_state_name(inv? inv->state: 906 PJSIP_INV_STATE_DISCONNECTED), 905 907 userinfo); 906 908 if (len < 1 || len >= (int)size) {
Note: See TracChangeset
for help on using the changeset viewer.