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
a7875a2b
Commit
a7875a2b
authored
Mar 27, 2009
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If underlying socket errors out, do not parse_recv for turn
parent
4d4cbcb8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
socket/turn.c
socket/turn.c
+5
-2
No files found.
socket/turn.c
View file @
a7875a2b
...
@@ -204,8 +204,11 @@ socket_recv (NiceSocket *sock, NiceAddress *from, guint len, gchar *buf)
...
@@ -204,8 +204,11 @@ socket_recv (NiceSocket *sock, NiceAddress *from, guint len, gchar *buf)
recv_len
=
nice_socket_recv
(
priv
->
base_socket
,
&
recv_from
,
recv_len
=
nice_socket_recv
(
priv
->
base_socket
,
&
recv_from
,
sizeof
(
recv_buf
),
(
gchar
*
)
recv_buf
);
sizeof
(
recv_buf
),
(
gchar
*
)
recv_buf
);
if
(
recv_len
>
0
)
return
nice_turn_socket_parse_recv
(
sock
,
&
dummy
,
from
,
len
,
buf
,
return
nice_turn_socket_parse_recv
(
sock
,
&
dummy
,
from
,
len
,
buf
,
&
recv_from
,
(
gchar
*
)
recv_buf
,
(
guint
)
recv_len
);
&
recv_from
,
(
gchar
*
)
recv_buf
,
(
guint
)
recv_len
);
else
return
recv_len
;
}
}
static
gboolean
static
gboolean
...
...
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