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
d9d3d5c8
Commit
d9d3d5c8
authored
May 20, 2010
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
agent: stream_new can't fail
parent
f9aac6fd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
29 deletions
+28
-29
agent/agent.c
agent/agent.c
+28
-29
No files found.
agent/agent.c
View file @
d9d3d5c8
...
@@ -1444,7 +1444,7 @@ nice_agent_add_stream (
...
@@ -1444,7 +1444,7 @@ nice_agent_add_stream (
agent_lock
();
agent_lock
();
stream
=
stream_new
(
n_components
);
stream
=
stream_new
(
n_components
);
if
(
stream
)
{
agent
->
streams
=
g_slist_append
(
agent
->
streams
,
stream
);
agent
->
streams
=
g_slist_append
(
agent
->
streams
,
stream
);
stream
->
id
=
agent
->
next_stream_id
++
;
stream
->
id
=
agent
->
next_stream_id
++
;
nice_debug
(
"Agent %p : allocating stream id %u (%p)"
,
agent
,
stream
->
id
,
stream
);
nice_debug
(
"Agent %p : allocating stream id %u (%p)"
,
agent
,
stream
->
id
,
stream
);
...
@@ -1475,7 +1475,6 @@ nice_agent_add_stream (
...
@@ -1475,7 +1475,6 @@ nice_agent_add_stream (
}
}
stream_initialize_credentials
(
stream
,
agent
->
rng
);
stream_initialize_credentials
(
stream
,
agent
->
rng
);
}
ret
=
stream
->
id
;
ret
=
stream
->
id
;
...
...
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