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
ca3921be
Commit
ca3921be
authored
Feb 20, 2014
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iostream: iostreams are only for reliable streams, no need to check
parent
26129cf6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
agent/inputstream.c
agent/inputstream.c
+1
-1
agent/outputstream.c
agent/outputstream.c
+1
-2
No files found.
agent/inputstream.c
View file @
ca3921be
...
@@ -351,7 +351,7 @@ nice_input_stream_is_readable (GPollableInputStream *stream)
...
@@ -351,7 +351,7 @@ nice_input_stream_is_readable (GPollableInputStream *stream)
/* If it’s a reliable agent, see if there’s any pending data in the pseudo-TCP
/* If it’s a reliable agent, see if there’s any pending data in the pseudo-TCP
* buffer. */
* buffer. */
if
(
agent
->
reliable
&&
component
->
tcp
!=
NULL
&&
if
(
component
->
tcp
!=
NULL
&&
pseudo_tcp_socket_get_available_bytes
(
component
->
tcp
)
>
0
)
{
pseudo_tcp_socket_get_available_bytes
(
component
->
tcp
)
>
0
)
{
retval
=
TRUE
;
retval
=
TRUE
;
goto
done
;
goto
done
;
...
...
agent/outputstream.c
View file @
ca3921be
...
@@ -472,8 +472,7 @@ nice_output_stream_is_writable (GPollableOutputStream *stream)
...
@@ -472,8 +472,7 @@ nice_output_stream_is_writable (GPollableOutputStream *stream)
/* If it’s a reliable agent, see if there’s any space in the pseudo-TCP output
/* If it’s a reliable agent, see if there’s any space in the pseudo-TCP output
* buffer. */
* buffer. */
if
(
agent
->
reliable
&&
component
->
tcp
!=
NULL
&&
if
(
component
->
tcp
!=
NULL
&&
pseudo_tcp_socket_can_send
(
component
->
tcp
))
{
pseudo_tcp_socket_can_send
(
component
->
tcp
))
{
retval
=
TRUE
;
retval
=
TRUE
;
goto
done
;
goto
done
;
}
}
...
...
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