diff options
author | runge <runge@karlrunge.com> | 2009-10-07 16:33:46 -0400 |
---|---|---|
committer | runge <runge@karlrunge.com> | 2009-10-07 16:33:46 -0400 |
commit | 0142acddedb0b07cd5fbd8d9e8628d1ab3067d6a (patch) | |
tree | 7b99863975fd9b4f1cce7898c6bf65beab26fd3a | |
parent | a92f7f46a675a3533a0a89b6fe2d509e43a2aa8f (diff) | |
download | libtdevnc-0142acddedb0b07cd5fbd8d9e8628d1ab3067d6a.tar.gz libtdevnc-0142acddedb0b07cd5fbd8d9e8628d1ab3067d6a.zip |
Some broken build environments treat fprintf(fh, buf) as a fatal error...
-rw-r--r-- | libvncserver/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncserver/main.c b/libvncserver/main.c index 1c9a4e7..b6bd930 100644 --- a/libvncserver/main.c +++ b/libvncserver/main.c @@ -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); |