Commit 9d0ad6fd authored by mueller's avatar mueller

fix format string escaping


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdenetwork/krfb/libvncserver@1202686 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
parent aa59e7c6
...@@ -242,7 +242,7 @@ rfbDefaultLog(const char *format, ...) ...@@ -242,7 +242,7 @@ rfbDefaultLog(const char *format, ...)
time(&log_clock); time(&log_clock);
strftime(buf, 255, "%d/%m/%Y %X ", localtime(&log_clock)); strftime(buf, 255, "%d/%m/%Y %X ", localtime(&log_clock));
fprintf(stderr,buf); fprintf(stderr, "%s", buf);
vfprintf(stderr, format, args); vfprintf(stderr, format, args);
fflush(stderr); fflush(stderr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment