Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
5a50199e
Commit
5a50199e
authored
14 years ago
by
Alexandre Savard
Browse files
Options
Downloads
Patches
Plain Diff
[#4616] Fix addressbook warnings
parent
a7daebf5
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sflphone-client-gnome/src/contacts/addressbook.c
+11
-12
11 additions, 12 deletions
sflphone-client-gnome/src/contacts/addressbook.c
with
11 additions
and
12 deletions
sflphone-client-gnome/src/contacts/addressbook.c
+
11
−
12
View file @
5a50199e
...
...
@@ -96,7 +96,6 @@ addressbook_is_active()
static
void
addressbook_config_books
()
{
gchar
**
config_book_uid
;
book_data_t
*
book_data
;
gchar
**
list
;
...
...
@@ -104,23 +103,23 @@ addressbook_config_books()
// Retrieve list of books
list
=
(
gchar
**
)
dbus_get_addressbook_list
();
if
(
list
)
{
if
(
list
==
NULL
)
return
;
for
(
config_book_uid
=
list
;
*
config_book_uid
;
config_book_uid
++
)
{
for
(
config_book_uid
=
list
;
*
config_book_uid
;
config_book_uid
++
)
{
// Get corresponding book data
book_data
=
books_get_book_data_by_uid
(
*
config_book_uid
);
// Get corresponding book data
book_data
=
books_get_book_data_by_uid
(
*
config_book_uid
);
// If book_data exists
if
(
!
book_data
)
{
ERROR
(
"Addressbook: Error: Could not open book (%s:%d)"
,
__FILE__
,
__LINE__
);
book_data
->
active
=
TRUE
;
}
// If book_data exists
if
(
book_data
==
NULL
)
{
ERROR
(
"Addressbook: Error: Could not open book (%s:%d)"
,
__FILE__
,
__LINE__
);
}
else
{
book_data
->
active
=
TRUE
;
}
g_strfreev
(
list
);
}
g_strfreev
(
list
);
}
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment