summaryrefslogtreecommitdiff
path: root/dahdi_cfg.c
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-11-24 20:42:27 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-11-24 20:42:27 +0000
commit1f774bbdedb827a7a7b55bef12b013cb918c66d2 (patch)
treebfee6ea4e52efb5d5c069819edd4f88b2f5d7d3c /dahdi_cfg.c
parenta92955565ae93a6b9e70ffd39899b418983163f7 (diff)
dahdi_cfg: {} as per coding guidelines.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5381 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'dahdi_cfg.c')
-rw-r--r--dahdi_cfg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dahdi_cfg.c b/dahdi_cfg.c
index 3ec5209..4d85e27 100644
--- a/dahdi_cfg.c
+++ b/dahdi_cfg.c
@@ -1613,9 +1613,10 @@ finish:
}
if (ae[x].chan) {
- if (verbose > 0)
+ if (verbose) {
printf("Setting echocan for channel %d to %s\n",
ae[x].chan, ae[x].echocan);
+ }
if (ioctl(fd, DAHDI_ATTACH_ECHOCAN, &ae[x])) {
fprintf(stderr, "DAHDI_ATTACH_ECHOCAN failed on channel %d: %s (%d)\n", x, strerror(errno), errno);
close(fd);