summaryrefslogtreecommitdiffstats
path: root/x11vnc/cleanup.c
diff options
context:
space:
mode:
authorrunge <runge@karlrunge.com>2009-11-18 18:25:36 -0500
committerrunge <runge@karlrunge.com>2009-11-18 18:25:36 -0500
commit09f63f0395fe103fd1442b2b012b98f2cda2dcd3 (patch)
treed38a54ba7dc61a229cdf2b83acf21d86eb672cde /x11vnc/cleanup.c
parent49cdfb4c1f25b371474f3a355e205471daa08640 (diff)
downloadlibtdevnc-09f63f0395fe103fd1442b2b012b98f2cda2dcd3.tar.gz
libtdevnc-09f63f0395fe103fd1442b2b012b98f2cda2dcd3.zip
x11vnc: -findauth, -auth guess, & etc.
Diffstat (limited to 'x11vnc/cleanup.c')
-rw-r--r--x11vnc/cleanup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/x11vnc/cleanup.c b/x11vnc/cleanup.c
index 7d57d90..5d2339d 100644
--- a/x11vnc/cleanup.c
+++ b/x11vnc/cleanup.c
@@ -332,6 +332,7 @@ static int XIOerr(Display *d) {
rfbLog("*** XIO error: Note the reopened state may be unstable.\n");
usleep (3000 * 1000);
dpy = XOpenDisplay_wr(dstr);
+ last_open_xdisplay = time(NULL);
if (dpy) {
rfbLog("*** XIO error: Reopened display '%s' successfully.\n", dstr);
if (db) rfbLog("*** XIO error: '%s' 0x%x\n", dstr, dpy);