[svn-commits] tzafrir: tools/trunk r5381 - /tools/trunk/dahdi_cfg.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Nov 24 14:42:27 CST 2008


Author: tzafrir
Date: Mon Nov 24 14:42:27 2008
New Revision: 5381

URL: http://svn.digium.com/view/dahdi?view=rev&rev=5381
Log:
dahdi_cfg: {} as per coding guidelines.

Modified:
    tools/trunk/dahdi_cfg.c

Modified: tools/trunk/dahdi_cfg.c
URL: http://svn.digium.com/view/dahdi/tools/trunk/dahdi_cfg.c?view=diff&rev=5381&r1=5380&r2=5381
==============================================================================
--- tools/trunk/dahdi_cfg.c (original)
+++ tools/trunk/dahdi_cfg.c Mon Nov 24 14:42:27 2008
@@ -1613,9 +1613,10 @@
 		}
 
 		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);




More information about the svn-commits mailing list