[Asterisk-cvs] libpri pri.c,1.24.2.1,1.24.2.2

russell at lists.digium.com russell at lists.digium.com
Wed Dec 15 13:09:57 CST 2004


Update of /usr/cvsroot/libpri
In directory mongoose.digium.com:/tmp/cvs-serv30823

Modified Files:
      Tag: v1-0
	pri.c 
Log Message:
get rid of compile warning (bug #3054)


Index: pri.c
===================================================================
RCS file: /usr/cvsroot/libpri/pri.c,v
retrieving revision 1.24.2.1
retrieving revision 1.24.2.2
diff -u -d -r1.24.2.1 -r1.24.2.2
--- pri.c	27 Oct 2004 14:45:07 -0000	1.24.2.1
+++ pri.c	15 Dec 2004 18:06:38 -0000	1.24.2.2
@@ -417,7 +417,7 @@
 	if (__pri_message)
 		__pri_message(tmp);
 	else
-		fprintf(stdout, tmp);
+		fputs(tmp, stdout);
 }
 
 void pri_error(char *fmt, ...)
@@ -430,7 +430,7 @@
 	if (__pri_error)
 		__pri_error(tmp);
 	else
-		fprintf(stderr, tmp);
+		fputs(tmp, stderr);
 }
 
 /* Set overlap mode */




More information about the svn-commits mailing list