Commit 310f6504 authored by jehan's avatar jehan
Browse files

fix tunnel compilation

parent 8da97fe4
......@@ -5481,7 +5481,7 @@ void sip_config_uninit(LinphoneCore *lc)
/*now that we are unregisted, there is no more channel using tunnel socket we no longer need the tunnel.*/
#ifdef TUNNEL_ENABLED
if (lc->tunnel) {
linphone_tunnel_destroy(lc->tunnel);
linphone_tunnel_ref(lc->tunnel);
lc->tunnel=NULL;
ms_message("Tunnel destroyed.");
}
......
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