commit | ad8609a2ed4e37dfc1a03f529a45bfe685041da5 | [log] [tgz] |
---|---|---|
author | Pierre Ossman <ossman@cendio.se> | Thu Apr 26 09:04:14 2012 +0000 |
committer | Pierre Ossman <ossman@cendio.se> | Thu Apr 26 09:04:14 2012 +0000 |
tree | 2389b74e74b94a6c8b609a3c481b2b1d42360b4f | |
parent | 8cb45e5e4cd751cd206a2bbea71e6efafcb23540 [diff] [blame] |
Fix unsafe usage of the logging functions. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4905 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/rfb/CSecurityTLS.cxx b/common/rfb/CSecurityTLS.cxx index 3421de5..6b6b017 100644 --- a/common/rfb/CSecurityTLS.cxx +++ b/common/rfb/CSecurityTLS.cxx
@@ -72,7 +72,7 @@ static void debug_log(int level, const char* str) { - vlog_raw.debug(str); + vlog_raw.debug("[%d]: %s", level, str); } void CSecurityTLS::initGlobal()