From 2f6840fd8530afa5b65aa20e1a4b73321281f4f0 Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Fri, 19 Feb 2010 21:04:02 +0530 Subject: Use format string when logging messages --- src/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/log.c') diff --git a/src/log.c b/src/log.c index 6b5db55..0fdbcb5 100644 --- a/src/log.c +++ b/src/log.c @@ -230,7 +230,7 @@ void send_stored_logs (void) continue; #endif - log_message (level, ptr); + log_message (level, "%s", ptr); } vector_delete (log_message_storage); -- cgit v1.2.3