summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authordscho <dscho>2001-10-03 17:40:57 +0000
committerdscho <dscho>2001-10-03 17:40:57 +0000
commit2a683877ecf21311cd05d4d509e3e2e4e43adae6 (patch)
treedc42967df88c14f1c64dff1015acba81d2ae095d /main.c
parentb3f2c7d08178aa45c5687cac338d65db5d92d01c (diff)
downloadlibvncserver-2a683877ecf21311cd05d4d509e3e2e4e43adae6.zip
libvncserver-2a683877ecf21311cd05d4d509e3e2e4e43adae6.tar.gz
working on IRIX pthreads problem
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 7362e4d..2b6cc25 100644
--- a/main.c
+++ b/main.c
@@ -145,10 +145,10 @@ clientOutput(void *data)
updateRegion = sraRgnCreateRgn(cl->modifiedRegion);
sraRgnAnd(updateRegion,cl->requestedRegion);
sraRgnSubtract(cl->modifiedRegion,updateRegion);
- UNLOCK(cl->updateMutex);
/* Now actually send the update. */
rfbSendFramebufferUpdate(cl, updateRegion);
+ UNLOCK(cl->updateMutex);
sraRgnDestroy(updateRegion);
}
OpenPOWER on IntegriCloud