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
f741a8fe
Commit
f741a8fe
authored
13 years ago
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
* #10725: conference_obj: cleanup logging
parent
9d148dd5
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gnome/src/conference_obj.c
+8
-9
8 additions, 9 deletions
gnome/src/conference_obj.c
with
8 additions
and
9 deletions
gnome/src/conference_obj.c
+
8
−
9
View file @
f741a8fe
...
...
@@ -38,20 +38,21 @@
#include
"calltab.h"
#include
"calllist.h"
conference_obj_t
*
create_new_conference
(
conference_state_t
state
,
const
gchar
*
const
confID
)
conference_obj_t
*
create_new_conference
(
conference_state_t
state
,
const
gchar
*
const
confID
)
{
if
(
confID
==
NULL
)
{
ERROR
(
"Conference
: Error: Conference
ID is NULL while creating new conference"
);
ERROR
(
"Conference ID is NULL while creating new conference"
);
return
NULL
;
}
DEBUG
(
"
Conference:
Create new conference %s"
,
confID
);
DEBUG
(
"Create new conference %s"
,
confID
);
// Allocate memory
conference_obj_t
*
new_conf
=
g_new0
(
conference_obj_t
,
1
);
if
(
!
new_conf
)
{
ERROR
(
"
Conference: Error:
Could not allocate data "
);
ERROR
(
"Could not allocate data "
);
return
NULL
;
}
...
...
@@ -114,7 +115,7 @@ void conference_add_participant_number(const gchar *call_id, conference_obj_t *c
callable_obj_t
*
call
=
calllist_get_call
(
current_calls_tab
,
call_id
);
if
(
!
call
)
{
ERROR
(
"
Conference: Error:
Could not find %s"
,
call_id
);
ERROR
(
"Could not find %s"
,
call_id
);
return
;
}
...
...
@@ -124,7 +125,7 @@ void conference_add_participant_number(const gchar *call_id, conference_obj_t *c
void
conference_add_participant
(
const
gchar
*
call_id
,
conference_obj_t
*
conf
)
{
DEBUG
(
"Conference
: Conference
%s, adding participant %s"
,
conf
->
_confID
,
call_id
);
DEBUG
(
"Conference %s, adding participant %s"
,
conf
->
_confID
,
call_id
);
// store the new participant list after appending participant id
conf
->
participant_list
=
g_slist_append
(
conf
->
participant_list
,
(
gpointer
)
g_strdup
(
call_id
));
...
...
@@ -142,10 +143,8 @@ void conference_remove_participant(const gchar* call_id, conference_obj_t* conf)
void
conference_participant_list_update
(
gchar
**
participants
,
conference_obj_t
*
conf
)
{
DEBUG
(
"Conference: Participant list update"
);
if
(
!
conf
)
{
ERROR
(
"Conference
: Error: Conference
is NULL"
);
ERROR
(
"Conference is NULL"
);
return
;
}
...
...
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