]> sjero.net Git - linphone/blobdiff - coreapi/TunnelManager.cc
implement setting of http proxy host and port (for tunnel extension) in gtk ui
[linphone] / coreapi / TunnelManager.cc
index 3e998cb74bfb99ad2434f2ace5664b06784b412c..44d12251cc06d392ebcef0ebade6596d1aade5a2 100644 (file)
@@ -276,7 +276,7 @@ void TunnelManager::waitUnRegistration(){
        LinphoneProxyConfig* lProxy;
        linphone_core_get_default_proxy(mCore, &lProxy);
        if (lProxy && linphone_proxy_config_get_state(lProxy)==LinphoneRegistrationOk) {
-               int i;
+               int i=0;
                linphone_proxy_config_edit(lProxy);
                //make sure unregister is sent and authenticated
                do{