aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-02 22:29:15 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-02 22:29:15 +0000
commitd58696d360280dd95156d57377962d3704e5a5be (patch)
tree1792172772f47f58021851d0527c50f1069346ad /channels/chan_zap.c
parentdf976656d0fff93f7f50a298dc5035219ade36f9 (diff)
Add curly braces around a compound if statement so that trunk will build properly
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96028 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_zap.c')
-rw-r--r--channels/chan_zap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 216a135ca..e266818ea 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