aboutsummaryrefslogtreecommitdiffstats
path: root/rtp.c
diff options
context:
space:
mode:
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);