[Asterisk-cvs] zaptel fxotune.c,1.12,1.13

mattf at lists.digium.com mattf at lists.digium.com
Fri Jan 28 10:22:56 CST 2005


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

Modified Files:
	fxotune.c 
Log Message:
Now it should work somewhat correctly :-)


Index: fxotune.c
===================================================================
RCS file: /usr/cvsroot/zaptel/fxotune.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- fxotune.c	17 Jan 2005 17:20:33 -0000	1.12
+++ fxotune.c	28 Jan 2005 16:24:52 -0000	1.13
@@ -322,9 +322,9 @@
 				int len = 0;
 				static char output[255] = "";
 				snprintf(output, sizeof(output), "%d=%d,%d,%d,%d,%d,%d,%d,%d,%d\n", i+1,
-						echo_trys[i].acim, echo_trys[i].coef1, echo_trys[i].coef2,
-						echo_trys[i].coef3, echo_trys[i].coef4, echo_trys[i].coef5,
-						echo_trys[i].coef6, echo_trys[i].coef7, echo_trys[i].coef8 );
+						echo_trys[res].acim, echo_trys[res].coef1, echo_trys[res].coef2,
+						echo_trys[res].coef3, echo_trys[res].coef4, echo_trys[res].coef5,
+						echo_trys[res].coef6, echo_trys[res].coef7, echo_trys[res].coef8 );
 
 				len = strlen(output);
 				res = write(configfd, output, strlen(output));




More information about the svn-commits mailing list