summaryrefslogtreecommitdiffstats
path: root/x11vnc/xwrappers.c
diff options
context:
space:
mode:
authorrunge <runge>2006-06-24 01:00:43 +0000
committerrunge <runge>2006-06-24 01:00:43 +0000
commit9992160105b0433484bca804d62eb672aff113de (patch)
tree76447789365f2cfc38e5650a3a34cd9ad132382f /x11vnc/xwrappers.c
parent64e731a9da82e3cc614e274d6fca6f855d0359b7 (diff)
downloadlibtdevnc-9992160105b0433484bca804d62eb672aff113de.tar.gz
libtdevnc-9992160105b0433484bca804d62eb672aff113de.zip
x11vnc: misc cleanup.
Diffstat (limited to 'x11vnc/xwrappers.c')
-rw-r--r--x11vnc/xwrappers.c5
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);
}