aboutsummaryrefslogtreecommitdiffstats
path: root/rtp.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-10 15:13:26 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-10 15:13:26 +0000
commit4b694c1c63caca5af21de5249464bb53e8f3cd99 (patch)
treeb82714886f7b62bf40485813f3ddd73ad44ce8c7 /rtp.c
parent216ab4669d6f95c437acad455767d35b44e6da37 (diff)
Fix buglet on debug
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26525 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'rtp.c')
-rw-r--r--rtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtp.c b/rtp.c
index b80fb3069..d0d84453d 100644
--- a/rtp.c
+++ b/rtp.c
@@ -763,7 +763,7 @@ int ast_rtp_early_media(struct ast_channel *dest, struct ast_channel *src)
}
if (!srcpr) {
if (option_debug)
- ast_log(LOG_DEBUG, "Channel '%s' has no RTP, not doing anything\n", src->name);
+ ast_log(LOG_DEBUG, "Channel '%s' has no RTP, not doing anything\n", src ? src->name : "<unspecified>");
ast_channel_unlock(dest);
if (src)
ast_channel_unlock(src);