[Asterisk-cvs] asterisk logger.c,1.49,1.50

markster at lists.digium.com markster at lists.digium.com
Tue Nov 16 08:52:00 CST 2004


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

Modified Files:
	logger.c 
Log Message:
Fix logger


Index: logger.c
===================================================================
RCS file: /usr/cvsroot/asterisk/logger.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- logger.c	15 Nov 2004 00:35:49 -0000	1.49
+++ logger.c	16 Nov 2004 13:52:35 -0000	1.50
@@ -615,7 +615,7 @@
 	vsnprintf(stuff + pos, sizeof(stuff) - pos, fmt, ap);
 	opos = pos;
 	pos = strlen(stuff);
-	if (fmt[strlen(fmt)-1] == '\n') 
+	if (stuff[strlen(stuff)-1] == '\n') 
 		complete = 1;
 	else
 		complete=0;




More information about the svn-commits mailing list