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
f6e9dd98
Commit
f6e9dd98
authored
12 years ago
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
* #10736: conferencelist: fixed invalid cast
parent
3ab5624c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gnome/src/contacts/conferencelist.c
+6
-8
6 additions, 8 deletions
gnome/src/contacts/conferencelist.c
with
6 additions
and
8 deletions
gnome/src/contacts/conferencelist.c
+
6
−
8
View file @
f6e9dd98
...
...
@@ -94,11 +94,11 @@ void conferencelist_add(calltab_t *tab, const conference_obj_t* conf)
}
void
conferencelist_remove
(
calltab_t
*
tab
,
const
gchar
*
const
conf
)
void
conferencelist_remove
(
calltab_t
*
tab
,
const
gchar
*
const
conf
_id
)
{
DEBUG
(
"ConferenceList: Remove conference %s"
,
conf
);
DEBUG
(
"ConferenceList: Remove conference %s"
,
conf
_id
);
if
(
conf
==
NULL
)
{
if
(
conf
_id
==
NULL
)
{
ERROR
(
"ConferenceList: Error: Conf id is NULL"
);
return
;
}
...
...
@@ -108,11 +108,10 @@ void conferencelist_remove(calltab_t *tab, const gchar* const conf)
return
;
}
gchar
*
c
=
(
gchar
*
)
conferencelist_get
(
tab
,
conf
);
conference_obj_t
*
c
=
conferencelist_get
(
tab
,
conf
_id
);
if
(
c
==
NULL
)
{
if
(
c
==
NULL
)
return
;
}
g_queue_remove
(
tab
->
conferenceQueue
,
c
);
}
...
...
@@ -128,9 +127,8 @@ conference_obj_t* conferencelist_get(calltab_t *tab, const gchar* const conf_id)
GList
*
c
=
g_queue_find_custom
(
tab
->
conferenceQueue
,
conf_id
,
is_confID_confstruct
);
if
(
c
==
NULL
)
{
if
(
c
==
NULL
)
return
NULL
;
}
return
(
conference_obj_t
*
)
c
->
data
;
}
...
...
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