Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
J
jami-daemon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
130
Issues
130
List
Boards
Labels
Service Desk
Milestones
Iterations
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
savoirfairelinux
jami-daemon
Commits
f6e9dd98
Commit
f6e9dd98
authored
May 16, 2012
by
Tristan Matthews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* #10736: conferencelist: fixed invalid cast
parent
3ab5624c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
gnome/src/contacts/conferencelist.c
gnome/src/contacts/conferencelist.c
+6
-8
No files found.
gnome/src/contacts/conferencelist.c
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
;
}
...
...
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