mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Fix static analysis showing incorrect use of string comparison result
This commit is contained in:
parent
9a64549fa1
commit
46a4a35984
1 changed files with 1 additions and 1 deletions
|
|
@ -398,7 +398,7 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
LinphoneAuthInfo* info = linphone_auth_info_new([username UTF8String], NULL, [password UTF8String], NULL, NULL);
|
||||
linphone_proxy_config_set_identity(proxyCfg, identity);
|
||||
linphone_proxy_config_set_server_addr(proxyCfg, [server UTF8String]);
|
||||
if([server compare:domain options:NSCaseInsensitiveSearch] != 0) {
|
||||
if([server compare:domain options:NSCaseInsensitiveSearch] != NSOrderedSame) {
|
||||
linphone_proxy_config_set_route(proxyCfg, [server UTF8String]);
|
||||
}
|
||||
int defaultExpire = [[LinphoneManager instance] lpConfigIntForKey:@"default_expires"];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue