From ed3ada7c2644b6b90c0cd4e69696854b05758936 Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Fri, 19 Feb 2010 21:04:02 +0530 Subject: [PATCH] Use format string when logging messages --- src/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);