Encodingstest: Use format string argument with fprintf.

pull/1/head
Luca Falavigna 12 years ago committed by Christian Beier
parent 62cfb3bbda
commit a6fedf258a

@ -256,7 +256,7 @@ rfbTestLog(const char *format, ...)
time(&log_clock);
strftime(buf, 255, "%d/%m/%Y %X (client) ", localtime(&log_clock));
fprintf(stderr,buf);
fprintf(stderr,"%s",buf);
vfprintf(stderr, format, args);
fflush(stderr);

Loading…
Cancel
Save