diff options
author | runge <runge> | 2006-01-11 15:01:12 +0000 |
---|---|---|
committer | runge <runge> | 2006-01-11 15:01:12 +0000 |
commit | 57cf0cdab5480efebaf447d5675e51b0d311ceee (patch) | |
tree | cb4b1419712454d31e85bd8558ff67b2d8fdac90 /x11vnc/x11vnc.c | |
parent | 0b7a0030acc27377b01e3afa41f672dc4d6a7561 (diff) | |
download | libtdevnc-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/x11vnc.c')
-rw-r--r-- | x11vnc/x11vnc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c index 70026fc..aba7808 100644 --- a/x11vnc/x11vnc.c +++ b/x11vnc/x11vnc.c @@ -207,7 +207,7 @@ static void record_last_fb_update(void) { static int rbs0 = -1; static time_t last_call = 0; time_t now = time(0); - int rbs; + int rbs = -1; rfbClientIteratorPtr iter; rfbClientPtr cl; @@ -629,7 +629,7 @@ static void check_rcfile(int argc, char **argv) { int i, j, pwlast, norc = 0, argmax = 1024; char *infile = NULL; char rcfile[1024]; - FILE *rc; + FILE *rc = NULL; for (i=1; i < argc; i++) { if (!strcmp(argv[i], "-printgui")) { |