From 81ef0b9345dd393fea8edab879ee1fd8f0bf9e81 Mon Sep 17 00:00:00 2001 From: runge Date: Sat, 27 Oct 2007 22:45:30 +0000 Subject: x11vnc: -proxy, -ssh options. ncache bug in -8to24, Selection "targets" bugfix. --- x11vnc/screen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'x11vnc/screen.c') diff --git a/x11vnc/screen.c b/x11vnc/screen.c index 0bda337..69efde6 100644 --- a/x11vnc/screen.c +++ b/x11vnc/screen.c @@ -25,6 +25,7 @@ #include "macosxCG.h" #include "avahi.h" #include "solid.h" +#include "inet.h" #include @@ -1242,7 +1243,7 @@ if (db) fprintf(stderr, "initialize_raw_fb reset\n"); unsigned int vals[1024], val; int x, y, fd, w = 1024, h = 768; if (strstr(n, "0x")) { - if (sscanf(n, "0x%lx", &val) != 1) { + if (sscanf(n, "0x%x", &val) != 1) { val = 0; } } -- cgit v1.2.1