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
54a3e8a0
Commit
54a3e8a0
authored
Apr 22, 2016
by
Sylvain Berfini
🐮
Browse files
Remove ifdef preventing friends to be written to rc file
parent
f6e09bcc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
coreapi/friend.c
coreapi/friend.c
+1
-4
No files found.
coreapi/friend.c
View file @
54a3e8a0
...
...
@@ -919,13 +919,10 @@ void linphone_core_write_friends_config(LinphoneCore* lc) {
MSList
*
elem
;
int
i
;
int
store_friends
;
#ifdef FRIENDS_SQL_STORAGE_ENABLED
return
;
#endif
if
(
!
linphone_core_ready
(
lc
))
return
;
/*dont write config when reading it !*/
store_friends
=
lp_config_get_int
(
lc
->
config
,
"misc"
,
"store_friends"
,
1
);
if
(
store_friends
)
{
for
(
elem
=
linphone_core_get_default_friend_list
(
lc
)
->
friends
,
i
=
0
;
elem
!=
NULL
;
elem
=
ms_list_next
(
elem
),
i
++
){
linphone_friend_write_to_config_file
(
lc
->
config
,(
LinphoneFriend
*
)
elem
->
data
,
i
);
}
...
...
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