From 481b063eb7596c758838907916fe737f94743230 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Thu, 3 Dec 2020 12:25:59 +0200 Subject: [PATCH] Fix missing init for DLP timestamps --- common/rfb/VNCSConnectionST.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/rfb/VNCSConnectionST.cxx b/common/rfb/VNCSConnectionST.cxx index 18779a5..fdcf984 100644 --- a/common/rfb/VNCSConnectionST.cxx +++ b/common/rfb/VNCSConnectionST.cxx @@ -69,6 +69,8 @@ VNCSConnectionST::VNCSConnectionST(VNCServerST* server_, network::Socket *s, setSocketTimeouts(); lastEventTime = time(0); gettimeofday(&lastRealUpdate, NULL); + gettimeofday(&lastClipboardOp, NULL); + gettimeofday(&lastKeyEvent, NULL); server->clients.push_front(this); }