- Timestamp:
- Apr 12, 2012 8:53:59 AM (13 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk
- Property svn:mergeinfo changed
/pjproject/branches/1.x merged: 4041
- Property svn:mergeinfo changed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c
r4040 r4042 994 994 995 995 /* Registration */ 996 acc->cfg.reg_timeout = cfg->reg_timeout; 996 if (acc->cfg.reg_timeout != cfg->reg_timeout) { 997 acc->cfg.reg_timeout = cfg->reg_timeout; 998 if (acc->regc != NULL) 999 pjsip_regc_update_expires(acc->regc, acc->cfg.reg_timeout); 1000 1001 update_reg = PJ_TRUE; 1002 } 997 1003 acc->cfg.unreg_timeout = cfg->unreg_timeout; 998 1004 acc->cfg.allow_contact_rewrite = cfg->allow_contact_rewrite; … … 1003 1009 if (acc->cfg.reg_delay_before_refresh != cfg->reg_delay_before_refresh) { 1004 1010 acc->cfg.reg_delay_before_refresh = cfg->reg_delay_before_refresh; 1005 pjsip_regc_set_delay_before_refresh(acc->regc, 1006 cfg->reg_delay_before_refresh); 1011 if (acc->regc != NULL) 1012 pjsip_regc_set_delay_before_refresh(acc->regc, 1013 cfg->reg_delay_before_refresh); 1007 1014 } 1008 1015
Note: See TracChangeset
for help on using the changeset viewer.