forked from mirrors/linphone-iphone
fix linphone_core_clear_proxy_config
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@800 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
aecda5f2c1
commit
a25dde8752
1 changed files with 4 additions and 3 deletions
|
|
@ -563,10 +563,11 @@ void linphone_core_remove_proxy_config(LinphoneCore *lc, LinphoneProxyConfig *cf
|
|||
* @ingroup proxy
|
||||
**/
|
||||
void linphone_core_clear_proxy_config(LinphoneCore *lc){
|
||||
const MSList* list=linphone_core_get_proxy_config_list((const LinphoneCore*)lc);
|
||||
MSList* list=ms_list_copy(linphone_core_get_proxy_config_list((const LinphoneCore*)lc));
|
||||
for(;list!=NULL;list=list->next){
|
||||
linphone_core_remove_proxy_config(lc,(LinphoneProxyConfig *)list->data);
|
||||
}
|
||||
linphone_core_remove_proxy_config(lc,(LinphoneProxyConfig *)list->data);
|
||||
}
|
||||
ms_list_free(list);
|
||||
}
|
||||
/**
|
||||
* Sets the default proxy.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue