[Asterisk-cvs] asterisk logger.c,1.32,1.33

markster at lists.digium.com markster at lists.digium.com
Tue Apr 13 00:43:39 CDT 2004


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv18074

Modified Files:
	logger.c 
Log Message:
Use fputs where it makes sense instead of fprintf


Index: logger.c
===================================================================
RCS file: /usr/cvsroot/asterisk/logger.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- logger.c	13 Apr 2004 04:27:06 -0000	1.32
+++ logger.c	13 Apr 2004 04:45:51 -0000	1.33
@@ -514,7 +514,7 @@
 		    va_start(ap, fmt);
 		    vsnprintf(buf, sizeof(buf), fmt, ap);
 		    va_end(ap);
-		    fprintf(chan->fileptr, buf);
+		    fputs(buf, chan->fileptr);
 		    fflush(chan->fileptr);
 	    }
 	    chan = chan->next;
@@ -528,7 +528,7 @@
 		    va_start(ap, fmt);
 		    vsnprintf(buf, sizeof(buf), fmt, ap);
 		    va_end(ap);
-		    fprintf(stdout, buf);
+		    fputs(buf, stdout);
 		}
     }
 




More information about the svn-commits mailing list