Changeset 5401
- Timestamp:
- Jul 28, 2016 8:21:45 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_dialog.c
r5373 r5401 93 93 pj_list_init(&dlg->rem_cap_hdr); 94 94 95 /* Init client authentication session. */ 96 status = pjsip_auth_clt_init(&dlg->auth_sess, dlg->endpt, 97 dlg->pool, 0); 98 if (status != PJ_SUCCESS) 99 goto on_error; 100 95 101 status = pj_mutex_create_recursive(pool, dlg->obj_name, &dlg->mutex_); 96 102 if (status != PJ_SUCCESS) … … 283 289 /* Initial route set is empty. */ 284 290 pj_list_init(&dlg->route_set); 285 286 /* Init client authentication session. */287 status = pjsip_auth_clt_init(&dlg->auth_sess, dlg->endpt,288 dlg->pool, 0);289 if (status != PJ_SUCCESS)290 goto on_error;291 291 292 292 /* Register this dialog to user agent. */ … … 506 506 } 507 507 dlg->route_set_frozen = PJ_TRUE; 508 509 /* Init client authentication session. */510 status = pjsip_auth_clt_init(&dlg->auth_sess, dlg->endpt,511 dlg->pool, 0);512 if (status != PJ_SUCCESS)513 goto on_error;514 508 515 509 /* Increment the dialog's lock since tsx may cause the dialog to be
Note: See TracChangeset
for help on using the changeset viewer.