[asterisk-commits] branch russell/hold_handling r37877 - /team/russell/hold_handling/apps/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Jul 17 21:52:53 MST 2006


Author: russell
Date: Mon Jul 17 23:52:52 2006
New Revision: 37877

URL: http://svn.digium.com/view/asterisk?rev=37877&view=rev
Log:
use S_OR

Modified:
    team/russell/hold_handling/apps/app_followme.c

Modified: team/russell/hold_handling/apps/app_followme.c
URL: http://svn.digium.com/view/asterisk/team/russell/hold_handling/apps/app_followme.c?rev=37877&r1=37876&r2=37877&view=diff
==============================================================================
--- team/russell/hold_handling/apps/app_followme.c (original)
+++ team/russell/hold_handling/apps/app_followme.c Mon Jul 17 23:52:52 2006
@@ -1010,7 +1010,7 @@
 					goto outrun;
 				if (ast_waitstream(chan, "") < 0)
 					goto outrun;
-				ast_moh_start(chan, !ast_strlen_zero(targs.mohclass) ? targs.mohclass : NULL, NULL);
+				ast_moh_start(chan, S_OR(targs.mohclass, NULL), NULL);
 
 
 				targs.status = 0;



More information about the asterisk-commits mailing list