fix for refresh_registers: registered flag should be set to false until sucessful registration.

This commit is contained in:
Simon Morlat 2011-05-18 10:32:54 +02:00
parent 0e517a8906
commit 929d086d04

View file

@ -296,6 +296,7 @@ static void linphone_proxy_config_register(LinphoneProxyConfig *obj){
**/
void linphone_proxy_config_refresh_register(LinphoneProxyConfig *obj){
if (obj->reg_sendregister && obj->op){
obj->registered=FALSE;
sal_register_refresh(obj->op,obj->expires);
}
}