Commit a6fedf25 authored by Luca Falavigna's avatar Luca Falavigna Committed by Christian Beier

Encodingstest: Use format string argument with fprintf.

parent 62cfb3bb
...@@ -256,7 +256,7 @@ rfbTestLog(const char *format, ...) ...@@ -256,7 +256,7 @@ rfbTestLog(const char *format, ...)
time(&log_clock); time(&log_clock);
strftime(buf, 255, "%d/%m/%Y %X (client) ", localtime(&log_clock)); strftime(buf, 255, "%d/%m/%Y %X (client) ", 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