[zaptel-commits] trunk r1103 - /trunk/wctdm24xxp.c

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Wed May 31 17:57:57 MST 2006


Author: markster
Date: Wed May 31 19:57:57 2006
New Revision: 1103

URL: http://svn.digium.com/view/zaptel?rev=1103&view=rev
Log:
Fix small printk that should only come up in debug

Modified:
    trunk/wctdm24xxp.c

Modified: trunk/wctdm24xxp.c
URL: http://svn.digium.com/view/zaptel/trunk/wctdm24xxp.c?rev=1103&r1=1102&r2=1103&view=diff
==============================================================================
--- trunk/wctdm24xxp.c (original)
+++ trunk/wctdm24xxp.c Wed May 31 19:57:57 2006
@@ -2332,7 +2332,8 @@
 static void wctdm_dacs_disconnect(struct wctdm *wc, int card)
 {
 	if (wc->dacssrc[card] > -1) {
-		printk("wctdm_dacs_disconnect: restoring TX for %d and RX for %d\n",wc->dacssrc[card], card);
+		if (debug)
+			printk("wctdm_dacs_disconnect: restoring TX for %d and RX for %d\n",wc->dacssrc[card], card);
 
 		/* restore TX (source card) */
 		if(wc->modtype[wc->dacssrc[card]] == MOD_TYPE_FXS){



More information about the zaptel-commits mailing list