Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
4c7b6ee9
Commit
4c7b6ee9
authored
Apr 22, 2008
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo fix dettach -> detach
darcs-hash:20080422193400-4f0f6-f7502c281b33309eab343bb8ca43f2f94beba636.gz
parent
0bd082cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
agent/agent.c
agent/agent.c
+4
-4
No files found.
agent/agent.c
View file @
4c7b6ee9
...
@@ -106,7 +106,7 @@ static gboolean priv_attach_stream_component (NiceAgent *agent,
...
@@ -106,7 +106,7 @@ static gboolean priv_attach_stream_component (NiceAgent *agent,
GMainContext
*
ctx
,
GMainContext
*
ctx
,
NiceAgentRecvFunc
func
,
NiceAgentRecvFunc
func
,
gpointer
data
);
gpointer
data
);
static
void
priv_det
t
ach_stream_component
(
Stream
*
stream
,
Component
*
component
);
static
void
priv_detach_stream_component
(
Stream
*
stream
,
Component
*
component
);
Stream
*
agent_find_stream
(
NiceAgent
*
agent
,
guint
stream_id
)
Stream
*
agent_find_stream
(
NiceAgent
*
agent
,
guint
stream_id
)
{
{
...
@@ -776,7 +776,7 @@ nice_agent_remove_stream (
...
@@ -776,7 +776,7 @@ nice_agent_remove_stream (
/* remove the stream itself */
/* remove the stream itself */
for
(
i
=
stream
->
components
;
i
;
i
=
i
->
next
)
{
for
(
i
=
stream
->
components
;
i
;
i
=
i
->
next
)
{
priv_det
t
ach_stream_component
(
stream
,
(
Component
*
)
i
->
data
);
priv_detach_stream_component
(
stream
,
(
Component
*
)
i
->
data
);
}
}
agent
->
streams
=
g_slist_remove
(
agent
->
streams
,
stream
);
agent
->
streams
=
g_slist_remove
(
agent
->
streams
,
stream
);
...
@@ -1760,7 +1760,7 @@ static gboolean priv_attach_stream_component (NiceAgent *agent,
...
@@ -1760,7 +1760,7 @@ static gboolean priv_attach_stream_component (NiceAgent *agent,
* context.
* context.
*
*
*/
*/
static
void
priv_det
t
ach_stream_component
(
Stream
*
stream
,
Component
*
component
)
static
void
priv_detach_stream_component
(
Stream
*
stream
,
Component
*
component
)
{
{
GSList
*
i
;
GSList
*
i
;
...
@@ -1796,7 +1796,7 @@ nice_agent_attach_recv (
...
@@ -1796,7 +1796,7 @@ nice_agent_attach_recv (
goto
done
;
goto
done
;
}
}
priv_det
t
ach_stream_component
(
stream
,
component
);
priv_detach_stream_component
(
stream
,
component
);
ret
=
TRUE
;
ret
=
TRUE
;
if
(
func
!=
NULL
)
if
(
func
!=
NULL
)
ret
=
priv_attach_stream_component
(
agent
,
stream
,
component
,
ctx
,
func
,
data
);
ret
=
priv_attach_stream_component
(
agent
,
stream
,
component
,
ctx
,
func
,
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