[asterisk-commits] mmichelson: branch 1.8 r371198 - /branches/1.8/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Aug 13 14:49:35 CDT 2012


Author: mmichelson
Date: Mon Aug 13 14:49:31 2012
New Revision: 371198

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=371198
Log:
Fix problem where incorrect pointer was checked for nullity.


Modified:
    branches/1.8/channels/chan_sip.c

Modified: branches/1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_sip.c?view=diff&rev=371198&r1=371197&r2=371198
==============================================================================
--- branches/1.8/channels/chan_sip.c (original)
+++ branches/1.8/channels/chan_sip.c Mon Aug 13 14:49:31 2012
@@ -15406,7 +15406,7 @@
 		pbx_builtin_setvar_helper(p->owner, "__SIPRDNISDOMAIN", rdomain);
 
 	if (sip_debug_test_pvt(p))
-		ast_verbose("RDNIS for this call is %s (reason %s)\n", exten, reason ? reason_param : "");
+		ast_verbose("RDNIS for this call is %s (reason %s)\n", exten, S_OR(reason_param, ""));
 
 	/*ast_string_field_set(p, rdnis, rexten);*/
 




More information about the asterisk-commits mailing list