Commit 65d11ff3 authored by jehan's avatar jehan

fix behavior if no proxy configured

parent 63a17857
......@@ -312,7 +312,7 @@ extern void libmsilbc_init();
LinphoneAddress* addr=linphone_address_new(linphone_proxy_config_get_addr(proxyCfg));
proxyReachability=SCNetworkReachabilityCreateWithName(nil, linphone_address_get_domain(addr));
proxyReachabilityContext.info=self;
[self doRegister];
} else if (configCheckDisable == false) {
......@@ -322,10 +322,11 @@ extern void libmsilbc_init();
cancelButtonTitle:@"Continue"
otherButtonTitles:@"Never remind",nil];
[error show];
proxyReachability=SCNetworkReachabilityCreateWithName(nil, @"linphone.org");
proxyReachability=SCNetworkReachabilityCreateWithName(nil, "linphone.org");
}
proxyReachabilityContext.info=self;
SCNetworkReachabilitySetCallback(proxyReachability, (SCNetworkReachabilityCallBack)networkReachabilityCallBack,&proxyReachabilityContext);
SCNetworkReachabilityScheduleWithRunLoop(proxyReachability, CFRunLoopGetCurrent(), kCFRunLoopDefaultMode);
......
......@@ -23,9 +23,9 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<string>1.0.1</string>
<key>CFBundleShortVersionString</key>
<string>3.1.2</string>
<string>3.1.3</string>
<key>NSMainNibFile</key>
<string>PhoneMainView</string>
<key>UIRequiredDeviceCapabilities</key>
......
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