[Asterisk-cvs] zaptel fxotune.c,1.24,1.25

mattf mattf
Wed Sep 14 15:54:23 CDT 2005


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

Modified Files:
	fxotune.c 
Log Message:
Revert "fix" for bug #5181


Index: fxotune.c
===================================================================
RCS file: /usr/cvsroot/zaptel/fxotune.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- fxotune.c	14 Sep 2005 02:09:09 -0000	1.24
+++ fxotune.c	14 Sep 2005 19:52:52 -0000	1.25
@@ -303,10 +303,9 @@
 	float acim_results[16];
 
 
-	outfile = tmpfile();
+	outfile = fopen("/tmp/fxotune.vals", "w");
 	if (!outfile) {
-		fprintf(stdout, "Cannot create temporary file: %d (%s)\n", 
-                    errno, strerror(errno));
+		fprintf(stdout, "Cannot create /tmp/fxotune.vals\n");
 		return -1;
 	}
 




More information about the svn-commits mailing list