From 2e61346c3f92d325b74c0086180ad137c7247ed6 Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Wed, 4 Oct 2023 21:11:37 +0000 Subject: [PATCH] server: Disable NTP and PTS extensions They are note ready to be released. --- src/server.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/server.c b/src/server.c index b214e7e..83a3037 100644 --- a/src/server.c +++ b/src/server.c @@ -970,9 +970,10 @@ static int on_client_set_encodings(struct nvnc_client* client) case RFB_ENCODING_DESKTOPSIZE: case RFB_ENCODING_EXTENDEDDESKTOPSIZE: case RFB_ENCODING_QEMU_EXT_KEY_EVENT: + client->encodings[n++] = encoding; case RFB_ENCODING_PTS: case RFB_ENCODING_NTP: - client->encodings[n++] = encoding; + ; } if (RFB_ENCODING_JPEG_LOWQ <= encoding &&