summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-01-10 22:52:38 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-01-10 22:52:38 -0600
commit0635a7603d20a1743daab4ef29ada7c396df3bd1 (patch)
tree19053ac10cf9785c2fe58f3b26dd22e7a87296b5
parent88c12b1f2f44875fc1c5cf49259299d9befa536d (diff)
downloadlibvncserver-0635a7603d20a1743daab4ef29ada7c396df3bd1.zip
libvncserver-0635a7603d20a1743daab4ef29ada7c396df3bd1.tar.gz
Release onHold signal in the threaded server build when clientOutput is called
This resolves an issue where, in the threaded server build only, there was no way to release a hold request returned by newClientHook
-rw-r--r--libvncserver/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvncserver/main.c b/libvncserver/main.c
index 9839c85..9504799 100644
--- a/libvncserver/main.c
+++ b/libvncserver/main.c
@@ -445,6 +445,7 @@ clientOutput(void *data)
rfbClientPtr cl = (rfbClientPtr)data;
rfbBool haveUpdate;
sraRegion* updateRegion;
+ cl->onHold = FALSE;
while (1) {
haveUpdate = false;
OpenPOWER on IntegriCloud