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

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Nov 24 12:36:07 CST 2008


Author: tzafrir
Date: Mon Nov 24 12:36:07 2008
New Revision: 5380

URL: http://svn.digium.com/view/dahdi?view=rev&rev=5380
Log:
dahdi_cfg: Make the message about echo canceller selection verbose.

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=5380&r1=5379&r2=5380
==============================================================================
--- tools/trunk/dahdi_cfg.c (original)
+++ tools/trunk/dahdi_cfg.c Mon Nov 24 12:36:07 2008
@@ -1613,7 +1613,9 @@
 		}
 
 		if (ae[x].chan) {
-			printf("Setting echocan for channel %d to %s\n", ae[x].chan, ae[x].echocan);
+			if (verbose > 0)
+				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