summaryrefslogtreecommitdiffstats
path: root/x11vnc/win_utils.c
diff options
context:
space:
mode:
authorrunge <runge>2006-01-11 15:01:12 +0000
committerrunge <runge>2006-01-11 15:01:12 +0000
commit57cf0cdab5480efebaf447d5675e51b0d311ceee (patch)
treecb4b1419712454d31e85bd8558ff67b2d8fdac90 /x11vnc/win_utils.c
parent0b7a0030acc27377b01e3afa41f672dc4d6a7561 (diff)
downloadlibtdevnc-57cf0cdab5480efebaf447d5675e51b0d311ceee.tar.gz
libtdevnc-57cf0cdab5480efebaf447d5675e51b0d311ceee.zip
x11vnc: close fd > 2 in run_user_command(), -nocmds in crash_debug, fix 64bit bug for -solid.
Diffstat (limited to 'x11vnc/win_utils.c')
-rw-r--r--x11vnc/win_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/win_utils.c b/x11vnc/win_utils.c
index 11efaca..798d14a 100644
--- a/x11vnc/win_utils.c
+++ b/x11vnc/win_utils.c
@@ -330,7 +330,7 @@ int pick_windowid(unsigned long *num) {
}
Window descend_pointer(int depth, Window start, char *name_info, int len) {
- Window r, c, clast;
+ Window r, c, clast = None;
int i, rx, ry, wx, wy;
int written = 0, filled = 0;
char *store = NULL;