diff options
author | Mukund Sivaraman <muks@banu.com> | 2010-02-19 21:04:02 +0530 |
---|---|---|
committer | Mukund Sivaraman <muks@banu.com> | 2010-02-19 21:04:02 +0530 |
commit | 2f6840fd8530afa5b65aa20e1a4b73321281f4f0 (patch) | |
tree | 34715c92dd9e01425bba5d555f8254a9860d71a0 | |
parent | 719b5f6049dd802fbab969b758ad201823950645 (diff) |
Use format string when logging messages
-rw-r--r-- | src/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |