diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-01-30 16:09:08 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-01-30 16:09:08 +0100 |
commit | 4e3e79dc7d06310cf056354dd789f5da1e17693a (patch) | |
tree | f2b885520994cbdb83d3189db382932d06308fe3 /unix/xserver | |
parent | 39b3b8f5752e3ffe140f78e054ba60aedf5d88ed (diff) | |
download | tigervnc-4e3e79dc7d06310cf056354dd789f5da1e17693a.tar.gz tigervnc-4e3e79dc7d06310cf056354dd789f5da1e17693a.zip |
Make the calls to va_list logging functions more explicit
On some platforms va_list might be defined as something that causes
ambiguity and results in the wrong function being called.
Diffstat (limited to 'unix/xserver')
-rw-r--r-- | unix/xserver/hw/vnc/RFBGlue.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/xserver/hw/vnc/RFBGlue.cc b/unix/xserver/hw/vnc/RFBGlue.cc index 7747d888..53d5bdb0 100644 --- a/unix/xserver/hw/vnc/RFBGlue.cc +++ b/unix/xserver/hw/vnc/RFBGlue.cc @@ -46,7 +46,7 @@ void vncLogError(const char *name, const char *format, ...) if (vlog == NULL) return; va_start(ap, format); - vlog->error(format, ap); + vlog->verror(format, ap); va_end(ap); } @@ -58,7 +58,7 @@ void vncLogStatus(const char *name, const char *format, ...) if (vlog == NULL) return; va_start(ap, format); - vlog->status(format, ap); + vlog->vstatus(format, ap); va_end(ap); } @@ -70,7 +70,7 @@ void vncLogInfo(const char *name, const char *format, ...) if (vlog == NULL) return; va_start(ap, format); - vlog->info(format, ap); + vlog->vinfo(format, ap); va_end(ap); } @@ -82,7 +82,7 @@ void vncLogDebug(const char *name, const char *format, ...) if (vlog == NULL) return; va_start(ap, format); - vlog->debug(format, ap); + vlog->vdebug(format, ap); va_end(ap); } |