Skip to content

Commit

Permalink
uac_registrant: re-register with expires value imposed by the registrar
Browse files Browse the repository at this point in the history
  • Loading branch information
ovidiusas committed Nov 22, 2013
1 parent f90e347 commit f9a8d98
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions modules/uac_registrant/registrant.c
Expand Up @@ -353,11 +353,8 @@ int run_reg_tm_cback(void *e_data, void *data, void *r_data)
}
}
rec->state = REGISTERED_STATE;
if (exp) {
rec->registration_timeout = now + exp - timer_interval;
} else {
rec->registration_timeout = now + rec->expires - timer_interval;
}
if (exp) rec->expires = exp;
rec->registration_timeout = now + rec->expires - timer_interval;
break;

case WWW_AUTH_CODE:
Expand Down

0 comments on commit f9a8d98

Please sign in to comment.