[Asterisk-cvs] zaptel wcfxs.c,1.53,1.54
markster at lists.digium.com
markster at lists.digium.com
Mon May 3 21:32:01 CDT 2004
Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv24934
Modified Files:
wcfxs.c
Log Message:
Fix fxstest
Index: wcfxs.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wcfxs.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- wcfxs.c 2 May 2004 05:13:31 -0000 1.53
+++ wcfxs.c 4 May 2004 01:40:06 -0000 1.54
@@ -1366,7 +1366,7 @@
return -EFAULT;
break;
case WCFXS_GET_REGS:
- if (wc->modtype == MOD_TYPE_FXS) {
+ if (wc->modtype[chan->chanpos - 1] == MOD_TYPE_FXS) {
for (x=0;x<NUM_INDIRECT_REGS;x++)
regs.indirect[x] = wcfxs_proslic_getreg_indirect(wc, chan->chanpos -1, x);
for (x=0;x<NUM_REGS;x++)
More information about the svn-commits
mailing list