[Asterisk-cvs] zaptel fxotune.c,1.3,1.4

mattf at lists.digium.com mattf at lists.digium.com
Mon Jan 10 18:16:36 CST 2005


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

Modified Files:
	fxotune.c 
Log Message:
Gathering all the various changes/fixes that I made this weekend


Index: fxotune.c
===================================================================
RCS file: /usr/cvsroot/zaptel/fxotune.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- fxotune.c	10 Jan 2005 23:43:33 -0000	1.3
+++ fxotune.c	11 Jan 2005 00:20:49 -0000	1.4
@@ -235,8 +235,8 @@
 			return -1;
 		}
 
-		for (i = 0; i < 255; i++) {
-			snprintf(zapdev, sizeof(zapdev), "%s/%d", zappath, i);
+		for (i = 0; i < 252; i++) {
+			snprintf(zapdev, sizeof(zapdev), "%s/%d", zappath, i+1);
 
 			fd = open(zapdev, O_RDWR);
 			if (fd < 0) {




More information about the svn-commits mailing list