[Asterisk-cvs] zaptel wctdm.c,1.118,1.119

kpfleming at lists.digium.com kpfleming at lists.digium.com
Wed Jul 20 10:05:09 CDT 2005


Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv24115

Modified Files:
	wctdm.c 
Log Message:
fix breakage from last commit (wasn't checking properly for MOD_TYPE_FXS)


Index: wctdm.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wctdm.c,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -d -r1.118 -r1.119
--- wctdm.c	20 Jul 2005 13:05:47 -0000	1.118
+++ wctdm.c	20 Jul 2005 14:12:24 -0000	1.119
@@ -1794,7 +1794,7 @@
 #else
 	module_put(THIS_MODULE);
 #endif
-	if (wc->modtype[chan->chanpos - 1])
+	if (wc->modtype[chan->chanpos - 1] == MOD_TYPE_FXS)
 		wc->mod.fxs.idletxhookstate[chan->chanpos -  1] = 1;
 
 	/* If we're dead, release us now */




More information about the svn-commits mailing list