Changeset 892 for pjproject/trunk
- Timestamp:
- Jan 21, 2007 4:23:56 PM (18 years ago)
- Location:
- pjproject/trunk/pjsip/src/pjsua-lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c
r881 r892 361 361 362 362 /* Delete registration */ 363 if (pjsua_var.acc[acc_id].regc != NULL) 363 if (pjsua_var.acc[acc_id].regc != NULL) { 364 364 pjsua_acc_set_registration(acc_id, PJ_FALSE); 365 pjsip_regc_destroy(pjsua_var.acc[acc_id].regc); 366 pjsua_var.acc[acc_id].regc = NULL; 367 } 365 368 366 369 /* Delete server presence subscription */ -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c
r881 r892 733 733 uapres = pjsua_var.acc[acc_id].pres_srv_list.next; 734 734 735 /* Notify all subscribers that we're no longer available */ 735 736 while (uapres != &acc->pres_srv_list) { 736 737 … … 754 755 } 755 756 757 /* Clear server presence subscription list because account might be reused 758 * later. */ 759 pj_list_init(&acc->pres_srv_list); 760 761 /* Terminate presence publication, if any */ 756 762 if (acc->publish_sess) { 757 763 acc->online_status = PJ_FALSE;
Note: See TracChangeset
for help on using the changeset viewer.