From: Mark Michelson Date: Wed, 2 Jan 2008 22:29:15 +0000 (+0000) Subject: Add curly braces around a compound if statement so that trunk will build properly X-Git-Tag: 1.6.0-beta1~3^2~209 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=426d9becebf3ecbf5316723d9053569ba3319e70;p=thirdparty%2Fasterisk.git Add curly braces around a compound if statement so that trunk will build properly git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96028 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 216a135ca9..e266818ea7 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -11680,9 +11680,10 @@ static char *zap_show_channel(struct ast_cli_entry *e, int cmd, struct ast_cli_a 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