fix network_reachable

This commit is contained in:
Simon Morlat 2012-08-27 14:53:27 +02:00
parent 8a6cb02ced
commit 47eb661230

View file

@ -125,7 +125,7 @@ NSTimer *callSecurityTimer;
if (config == NULL) {
state = LinphoneRegistrationNone;
if(![LinphoneManager isLcReady] || linphone_core_is_network_reachabled([LinphoneManager getLc]))
if(![LinphoneManager isLcReady] || linphone_core_is_network_reachable([LinphoneManager getLc]))
message = NSLocalizedString(@"No SIP account configured", nil);
else
message = NSLocalizedString(@"Network down", nil);