commit | cd5c82a655f74b1395f6216d722d6366edb757f0 | [log] [tgz] |
---|---|---|
author | Pierre Ossman <ossman@cendio.se> | Tue Mar 03 16:48:58 2015 +0100 |
committer | Pierre Ossman <ossman@cendio.se> | Tue Mar 03 16:48:58 2015 +0100 |
tree | 9c491dc3dd7ebb88f5c916b68238187f3d23a793 | |
parent | b0a8047bba02b10b687048f7191824e010ec38da [diff] [blame] |
Fix unsafe format strings to the logging functions
diff --git a/win/winvnc/winvnc.cxx b/win/winvnc/winvnc.cxx index 8fba9dc..b906865 100644 --- a/win/winvnc/winvnc.cxx +++ b/win/winvnc/winvnc.cxx
@@ -87,7 +87,7 @@ } else { if (isError) { try { - vlog.error(msg); + vlog.error("%s", msg); return; } catch (...) { }