This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
rtpengine
mirror of
https://github.com/sipwise/rtpengine
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
822
Wiki
Activity
Browse Source
who knew that zero-length udp packets are valid?
git.mgm/mediaproxy-ng/2.1
Richard Fuchs
14 years ago
parent
33b7872115
commit
e4575cf31f
1 changed files
with
1 additions
and
4 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-4
daemon/call.c
+ 1
- 4
daemon/call.c
View File
@ -326,12 +326,9 @@ static void stream_readable(int fd, void *p) {
sinlen
=
sizeof
(
ss
)
;
sinlen
=
sizeof
(
ss
)
;
ret
=
recvfrom
(
fd
,
buf
,
sizeof
(
buf
)
,
0
,
(
struct
sockaddr
*
)
&
ss
,
&
sinlen
)
;
ret
=
recvfrom
(
fd
,
buf
,
sizeof
(
buf
)
,
0
,
(
struct
sockaddr
*
)
&
ss
,
&
sinlen
)
;
if
(
ret
=
=
0
)
goto
err
;
else
if
(
ret
<
0
)
{
if
(
ret
<
0
)
{
if
(
errno
=
=
EINTR
|
|
errno
=
=
EAGAIN
|
|
errno
=
=
EWOULDBLOCK
)
if
(
errno
=
=
EINTR
|
|
errno
=
=
EAGAIN
|
|
errno
=
=
EWOULDBLOCK
)
break
;
break
;
err
:
stream_closed
(
fd
,
r
)
;
stream_closed
(
fd
,
r
)
;
break
;
break
;
}
}
Write
Preview
Loading…
Cancel
Save