mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-31 10:19:23 +00:00
clear the code
This commit is contained in:
parent
ec7fd6f617
commit
477a3266e9
1 changed files with 3 additions and 11 deletions
|
|
@ -499,19 +499,11 @@ static LinphoneFriendListStatus _linphone_friend_list_add_friend(LinphoneFriendL
|
|||
return status;
|
||||
}
|
||||
addr = linphone_friend_get_address(lf);
|
||||
bool_t present= FALSE;
|
||||
bool_t present = FALSE;
|
||||
if (lf->refkey) {
|
||||
if(linphone_friend_list_find_friend_by_ref_key(list, lf->refkey)) {
|
||||
present = TRUE;
|
||||
} else {
|
||||
present = FALSE;
|
||||
}
|
||||
present = linphone_friend_list_find_friend_by_ref_key(list, lf->refkey) != NULL;
|
||||
} else {
|
||||
if (bctbx_list_find(list->friends, lf) != NULL) {
|
||||
present = TRUE;
|
||||
} else {
|
||||
present = FALSE;
|
||||
}
|
||||
present = bctbx_list_find(list->friends, lf) != NULL;
|
||||
}
|
||||
if (present) {
|
||||
char *tmp = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue