Merge branch 'master' of git.linphone.org:linphone

* 'master' of git.linphone.org:linphone:
  fix tunnel compilation
This commit is contained in:
Sandrine Avakian 2017-03-20 14:52:23 +01:00
commit 9380f1c988

View file

@ -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.");
}