[asterisk-commits] trunk r26525 - /trunk/rtp.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed May 10 08:13:27 MST 2006
Author: markster
Date: Wed May 10 10:13:26 2006
New Revision: 26525
URL: http://svn.digium.com/view/asterisk?rev=26525&view=rev
Log:
Fix buglet on debug
Modified:
trunk/rtp.c
Modified: trunk/rtp.c
URL: http://svn.digium.com/view/asterisk/trunk/rtp.c?rev=26525&r1=26524&r2=26525&view=diff
==============================================================================
--- trunk/rtp.c (original)
+++ trunk/rtp.c Wed May 10 10:13:26 2006
@@ -763,7 +763,7 @@
}
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);
More information about the asterisk-commits
mailing list