[svn-commits] mmichelson: trunk r96028 - /trunk/channels/chan_zap.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jan 2 16:29:15 CST 2008


Author: mmichelson
Date: Wed Jan  2 16:29:15 2008
New Revision: 96028

URL: http://svn.digium.com/view/asterisk?view=rev&rev=96028
Log:
Add curly braces around a compound if statement so that trunk will build properly


Modified:
    trunk/channels/chan_zap.c

Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?view=diff&rev=96028&r1=96027&r2=96028
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Wed Jan  2 16:29:15 2008
@@ -11680,9 +11680,10 @@
 				ast_cli(a->fd, "\tnone\n");
 			}
 #else
-			if (tmp->echocancel)
+			if (tmp->echocancel) {
 				ast_cli(a->fd, "\t%d taps\n", tmp->echocancel);
 				ast_cli(a->fd, "\t%scurrently %s\n", tmp->echocanbridged ? "" : "(unless TDM bridged) ", tmp->echocanon ? "ON" : "OFF");
+			}
 			else
 				ast_cli(a->fd, "\tnone\n");
 #endif




More information about the svn-commits mailing list