Changeset 4579
- Timestamp:
- Aug 6, 2013 6:52:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c
r4546 r4579 1049 1049 { 1050 1050 unsigned i; 1051 pj_bool_t cred_changed = PJ_FALSE; 1051 1052 1052 1053 /* Selective update credential info. */ … … 1072 1073 /* Not found, insert this */ 1073 1074 if (j == acc->cfg.cred_count) { 1075 cred_changed = PJ_TRUE; 1076 1074 1077 /* If account credential is full, discard the last one. */ 1075 1078 if (acc->cfg.cred_count == PJ_ARRAY_SIZE(acc->cfg.cred_info)) { … … 1098 1101 } 1099 1102 1100 update_reg = PJ_TRUE; 1101 unreg_first = PJ_TRUE; 1103 if (cred_changed) { 1104 update_reg = PJ_TRUE; 1105 unreg_first = PJ_TRUE; 1106 } 1102 1107 } 1103 1108
Note: See TracChangeset
for help on using the changeset viewer.