summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@banu.com>2010-02-19 21:04:02 +0530
committerMukund Sivaraman <muks@banu.com>2010-02-19 21:04:02 +0530
commit2f6840fd8530afa5b65aa20e1a4b73321281f4f0 (patch)
tree34715c92dd9e01425bba5d555f8254a9860d71a0
parent719b5f6049dd802fbab969b758ad201823950645 (diff)
downloadtinyproxy-2f6840fd8530afa5b65aa20e1a4b73321281f4f0.tar.gz
tinyproxy-2f6840fd8530afa5b65aa20e1a4b73321281f4f0.zip
Use format string when logging messages
-rw-r--r--src/log.c2
1 files changed, 1 insertions, 1 deletions
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);