diff options
author | runge <runge> | 2006-06-24 01:00:43 +0000 |
---|---|---|
committer | runge <runge> | 2006-06-24 01:00:43 +0000 |
commit | 9992160105b0433484bca804d62eb672aff113de (patch) | |
tree | 76447789365f2cfc38e5650a3a34cd9ad132382f /x11vnc/xwrappers.c | |
parent | 64e731a9da82e3cc614e274d6fca6f855d0359b7 (diff) | |
download | libtdevnc-9992160105b0433484bca804d62eb672aff113de.tar.gz libtdevnc-9992160105b0433484bca804d62eb672aff113de.zip |
x11vnc: misc cleanup.
Diffstat (limited to 'x11vnc/xwrappers.c')
-rw-r--r-- | x11vnc/xwrappers.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/x11vnc/xwrappers.c b/x11vnc/xwrappers.c index d58e914..b70d205 100644 --- a/x11vnc/xwrappers.c +++ b/x11vnc/xwrappers.c @@ -4,6 +4,7 @@ #include "xrecord.h" #include "keyboard.h" #include "xevents.h" +#include "connections.h" int xshm_present = 0; int xtest_present = 0; @@ -972,7 +973,7 @@ Display *XOpenDisplay_wr(char *display_name) { } d = XOpenDisplay(display_name); - if (db) fprintf(stderr, "XOpenDisplay_wr: %s 0x%x\n", display_name, d); + if (db) fprintf(stderr, "XOpenDisplay_wr: %s %p\n", display_name, (void *)d); xauth_raw(0); @@ -981,7 +982,7 @@ Display *XOpenDisplay_wr(char *display_name) { int XCloseDisplay_wr(Display *display) { int db = 0; - if (db) fprintf(stderr, "XCloseDisplay_wr: 0x%x\n", display); + if (db) fprintf(stderr, "XCloseDisplay_wr: %p\n", (void *)display); return XCloseDisplay(display); } |