Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
fa2450a4
Commit
fa2450a4
authored
Jun 05, 2018
by
jehan
Browse files
fix crash in search bar on ios
parent
e9a88353
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/search/magic-search.cpp
View file @
fa2450a4
...
...
@@ -375,8 +375,10 @@ list<SearchResult> MagicSearch::searchInFriend(const LinphoneFriend *lFriend, co
phoneNumber
=
number
;
if
(
proxy
)
{
char
*
buff
=
linphone_proxy_config_normalize_phone_number
(
proxy
,
phoneNumber
.
c_str
());
phoneNumber
=
buff
;
bctbx_free
(
buff
);
if
(
buff
)
{
phoneNumber
=
buff
;
bctbx_free
(
buff
);
}
}
unsigned
int
weightNumber
=
getWeight
(
phoneNumber
.
c_str
(),
filter
);
if
(
presence
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment