[Asterisk-cvs] asterisk logger.c,1.29,1.30

citats at lists.digium.com citats at lists.digium.com
Thu Feb 26 23:43:38 CST 2004


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

Modified Files:
	logger.c 
Log Message:
Get rid of compiler warnings when calling ast_queue_log


Index: logger.c
===================================================================
RCS file: /usr/cvsroot/asterisk/logger.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- logger.c	23 Feb 2004 20:18:27 -0000	1.29
+++ logger.c	27 Feb 2004 04:32:54 -0000	1.30
@@ -252,9 +252,9 @@
 	qlog = fopen(filename, "a");
 	ast_mutex_unlock(&qloglock);
 	if (reloaded) 
-		ast_queue_log("NONE", "NONE", "NONE", "CONFIGRELOAD", "");
+		ast_queue_log("NONE", "NONE", "NONE", "CONFIGRELOAD", "%s", "");
 	else
-		ast_queue_log("NONE", "NONE", "NONE", "QUEUESTART", "");
+		ast_queue_log("NONE", "NONE", "NONE", "QUEUESTART", "%s", "");
 }
 
 int reload_logger(int rotate)




More information about the svn-commits mailing list