Some broken build environments treat fprintf(fh, buf) as a fatal error...

pull/1/head
runge 15 years ago
parent 0142acdded
commit 169ef3a042

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

Loading…
Cancel
Save