Changeset 5241 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c
- Timestamp:
- Feb 5, 2016 4:29:17 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c
r5224 r5241 856 856 857 857 /* Create UAS dialog: */ 858 status = pjsip_dlg_create_uas (pjsip_ua_instance(), rdata,859 &contact, &dlg);858 status = pjsip_dlg_create_uas_and_inc_lock(pjsip_ua_instance(), rdata, 859 &contact, &dlg); 860 860 if (status != PJ_SUCCESS) { 861 861 pjsua_perror(THIS_FILE, … … 922 922 } 923 923 924 pjsip_dlg_dec_lock(dlg); 924 925 PJSUA_UNLOCK(); 925 926 pj_log_pop_indent(); 926 927 return PJ_TRUE; 927 928 } 929 930 /* Subscription has been created, decrement & release dlg lock */ 931 pjsip_dlg_dec_lock(dlg); 928 932 929 933 /* If account is locked to specific transport, then lock dialog … … 1036 1040 1037 1041 /* Done: */ 1038 1039 1042 PJSUA_UNLOCK(); 1040 1043 pj_log_pop_indent();
Note: See TracChangeset
for help on using the changeset viewer.