diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-08 16:27:36 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-08 16:27:36 +0000 |
commit | eca1ae36e1cb159903bc74c550f7adee8dc237ac (patch) | |
tree | e3ddee3064639edae9d76af192102cbe947e5627 /res/res_rtp_asterisk.c | |
parent | 5773c5982d70eb6cab44ab9377fe18297370b365 (diff) |
Turn a warning message into a debug message and do not treat two situations as errors when they are not.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@187036 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_rtp_asterisk.c')
-rw-r--r-- | res/res_rtp_asterisk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c index a04291bb9..7da086dd5 100644 --- a/res/res_rtp_asterisk.c +++ b/res/res_rtp_asterisk.c @@ -1094,13 +1094,13 @@ static int ast_rtp_write(struct ast_rtp_instance *instance, struct ast_frame *fr /* If we don't actually know the remote address don't even bother doing anything */ if (!remote_address.sin_addr.s_addr) { ast_debug(1, "No remote address on RTP instance '%p' so dropping frame\n", instance); - return -1; + return 0; } /* If there is no data length we can't very well send the packet */ if (!frame->datalen) { ast_debug(1, "Received frame with no data for RTP instance '%p' so dropping frame\n", instance); - return -1; + return 0; } /* If the packet is not one our RTP stack supports bail out */ |