summaryrefslogtreecommitdiff
path: root/rtp.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2006-03-31 17:46:03 +0000
committerRussell Bryant <russell@russellbryant.com>2006-03-31 17:46:03 +0000
commita4bbb3ff90d79f07ff59d4e16e4f7a595e6db789 (patch)
tree4400fab1de9a7a382499b860a8d7b47444e35956 /rtp.c
parent83b7de94633e41239b995bb843e981b8bc2ba166 (diff)
make an error message more descriptive (issue #6855)
M rtp.c git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rtp.c')
-rw-r--r--rtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rtp.c b/rtp.c
index 1437c55bd..b1a36ef22 100644
--- a/rtp.c
+++ b/rtp.c
@@ -543,7 +543,7 @@ struct ast_frame *ast_rtp_read(struct ast_rtp *rtp)
rtp->lasteventseqn = seqno;
} else
f = NULL;
- if (f)
+ if (f)
return f;
else
return &ast_null_frame;
@@ -555,7 +555,7 @@ struct ast_frame *ast_rtp_read(struct ast_rtp *rtp)
else
return &ast_null_frame;
} else {
- ast_log(LOG_NOTICE, "Unknown RTP codec %d received\n", payloadtype);
+ ast_log(LOG_NOTICE, "Unknown RTP codec %d received from '%s'\n", payloadtype, ast_inet_ntoa(iabuf, sizeof(iabuf), rtp->them.sin_addr));
return &ast_null_frame;
}
}