forked from mirrors/linphone-iphone
fix coding style
This commit is contained in:
parent
ca1af98af0
commit
5be5030c42
1 changed files with 1 additions and 3 deletions
|
|
@ -1684,7 +1684,7 @@ static void networkReachabilityNotification(CFNotificationCenterRef center, void
|
|||
return;
|
||||
|
||||
|
||||
if (newSSID != Nil && newSSID.length > 0 && mgr.SSID != Nil && newSSID.length > 0){
|
||||
if (newSSID != Nil && newSSID.length > 0 && mgr.SSID != Nil && newSSID.length > 0) {
|
||||
if (SCNetworkReachabilityGetFlags([mgr getProxyReachability], &flags)) {
|
||||
LOGI(@"Wifi SSID changed, resesting transports.");
|
||||
mgr.connectivity=none; //this will trigger a connectivity change in networkReachabilityCallback.
|
||||
|
|
@ -1692,8 +1692,6 @@ static void networkReachabilityNotification(CFNotificationCenterRef center, void
|
|||
}
|
||||
}
|
||||
mgr.SSID = newSSID;
|
||||
|
||||
|
||||
}
|
||||
|
||||
void networkReachabilityCallBack(SCNetworkReachabilityRef target, SCNetworkReachabilityFlags flags, void *nilCtx) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue