Fix missing init for DLP timestamps

This commit is contained in:
Lauri Kasanen 2020-12-03 12:25:59 +02:00
parent ef23f13045
commit 481b063eb7

View File

@ -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);
}