Commit a25dde87 authored by smorlat's avatar smorlat
Browse files

fix linphone_core_clear_proxy_config

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@800 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent aecda5f2
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment