diff options
author | Max Khon <fjoe@FreeBSD.org> | 2005-07-12 10:11:17 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2005-07-12 10:11:17 +0000 |
commit | 235e4422fb718d105148073e40fc038b5be9bbfa (patch) | |
tree | 08aa230d0e15f58e4d2c15e2f567428c50a5a5eb /net/asterisk10/files/patch-rtp.c | |
parent | 6a41443328f7477d7be2c677659c28bdfd91490f (diff) |
Update to 1.0.9 and bristuff-0.2.0-RC8h.
Approved by: MAINTAINER
Notes
Notes:
svn path=/head/; revision=138968
Diffstat (limited to 'net/asterisk10/files/patch-rtp.c')
-rw-r--r-- | net/asterisk10/files/patch-rtp.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/net/asterisk10/files/patch-rtp.c b/net/asterisk10/files/patch-rtp.c index 36c4bea2f7ea..c652add6a2f2 100644 --- a/net/asterisk10/files/patch-rtp.c +++ b/net/asterisk10/files/patch-rtp.c @@ -9,28 +9,6 @@ break; case TYPE_SILENCE: return 4; -@@ -351,9 +351,7 @@ - 0, (struct sockaddr *)&sin, &len); - - if (res < 0) { -- if (errno == EAGAIN) -- ast_log(LOG_NOTICE, "RTP: Received packet with bad UDP checksum\n"); -- else -+ if (errno != EAGAIN) - ast_log(LOG_WARNING, "RTP Read error: %s\n", strerror(errno)); - if (errno == EBADF) - CRASH; -@@ -431,9 +429,7 @@ - - rtpheader = (unsigned int *)(rtp->rawdata + AST_FRIENDLY_OFFSET); - if (res < 0) { -- if (errno == EAGAIN) -- ast_log(LOG_NOTICE, "RTP: Received packet with bad UDP checksum\n"); -- else -+ if (errno != EAGAIN) - ast_log(LOG_WARNING, "RTP Read error: %s\n", strerror(errno)); - if (errno == EBADF) - CRASH; @@ -862,8 +858,10 @@ /* Must be an even port number by RTP spec */ rtp->us.sin_port = htons(x); |