mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-29 09:09:21 +00:00
Prevent carsh if there is no default proxy config
This commit is contained in:
parent
f7b2f0f541
commit
80936671c4
1 changed files with 3 additions and 3 deletions
|
|
@ -164,12 +164,12 @@ static void sync_address_book (ABAddressBookRef addressBook, CFDictionaryRef inf
|
|||
CFStringRef lLabel = ABMultiValueCopyLabelAtIndex(lMap, i);
|
||||
CFStringRef lLocalizedLabel = ABAddressBookCopyLocalizedLabel(lLabel);
|
||||
NSString* lNormalizedKey = [FastAddressBook normalizePhoneNumber:(NSString*)lValue];
|
||||
lNormalizedKey = [FastAddressBook normalizeSipURI:lNormalizedKey];
|
||||
NSString* lNormalizedSipKey = [FastAddressBook normalizeSipURI:lNormalizedKey];
|
||||
if (lNormalizedSipKey != NULL) lNormalizedKey = lNormalizedSipKey;
|
||||
[addressBookMap setObject:lPerson forKey:lNormalizedKey];
|
||||
CFRelease(lValue);
|
||||
if (lLabel) CFRelease(lLabel);
|
||||
if (lLocalizedLabel) CFRelease(lLocalizedLabel);
|
||||
}
|
||||
if (lLocalizedLabel) CFRelease(lLocalizedLabel); }
|
||||
CFRelease(lMap);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue