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

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

@ -242,7 +242,7 @@ rfbDefaultLog(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