From 8c3fa0c54eda5ced1957b3add5ea4e46907406cd Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sun, 20 Mar 2011 00:22:22 -0700 Subject: [PATCH] Use guac log functions for VNC log. --- protocols/vnc/src/vnc_client.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/protocols/vnc/src/vnc_client.c b/protocols/vnc/src/vnc_client.c index 49de218d..c5f22fa4 100644 --- a/protocols/vnc/src/vnc_client.c +++ b/protocols/vnc/src/vnc_client.c @@ -346,6 +346,10 @@ int guac_client_init(guac_client* client, int argc, char** argv) { int read_only = 0; + /* Set up libvncclient logging */ + rfbClientLog = guac_log_info; + rfbClientErr = guac_log_error; + /*** PARSE ARGUMENTS ***/ if (argc < 5) {