From 8e9e1ac6bce6241e16ba43b5f9f57e148c14df3b Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Wed, 10 May 2006 15:13:26 +0000 Subject: [PATCH] Fix buglet on debug git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26525 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtp.c b/rtp.c index b80fb30696..d0d84453df 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 : ""); ast_channel_unlock(dest); if (src) ast_channel_unlock(src);