summaryrefslogtreecommitdiffstats
path: root/x11vnc/connections.c
diff options
context:
space:
mode:
authorrunge <runge>2008-02-01 02:05:10 +0000
committerrunge <runge>2008-02-01 02:05:10 +0000
commit7e7ef1b4716839045c4904c472564f13290ebd8b (patch)
tree030f74552aedb6036a3c4a918f030f9cdbb03c6f /x11vnc/connections.c
parentc17aef31ac3540a04707a7f14f04524cc76c93d0 (diff)
downloadlibtdevnc-7e7ef1b4716839045c4904c472564f13290ebd8b.tar.gz
libtdevnc-7e7ef1b4716839045c4904c472564f13290ebd8b.zip
x11vnc: during speeds estimate, guard against client disconnecting.
Diffstat (limited to 'x11vnc/connections.c')
-rw-r--r--x11vnc/connections.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/x11vnc/connections.c b/x11vnc/connections.c
index b7af0be..ae1df82 100644
--- a/x11vnc/connections.c
+++ b/x11vnc/connections.c
@@ -672,6 +672,7 @@ void client_gone(rfbClientPtr client) {
speeds_net_latency_measured = 0;
rfbLog("client_count: %d\n", client_count);
+ last_client_gone = dnow();
if (unixpw_in_progress && unixpw_client) {
if (client == unixpw_client) {