diff options
author | dscho <dscho> | 2008-01-30 20:38:51 +0000 |
---|---|---|
committer | dscho <dscho> | 2008-01-30 20:38:51 +0000 |
commit | ce8d6c2409ca15f0fb5800b1c2c0a03e86683fc2 (patch) | |
tree | c3c6200b7442bab417b05ae90bdf08037c98dc83 /rfb/rfb.h | |
parent | 5b9b4543616db4cefc5eb052287a32f03fdd8e85 (diff) | |
download | libtdevnc-ce8d6c2409ca15f0fb5800b1c2c0a03e86683fc2.tar.gz libtdevnc-ce8d6c2409ca15f0fb5800b1c2c0a03e86683fc2.zip |
Make ZYWRLE thread-safe for multiple clients
ZYWRLE used a static buffer, which does not work too well if you have
more than one client in a threaded server. Instead, we have the data
in the client structure now.
Signed-off-by: Johannes Schindelin <[email protected]>
Diffstat (limited to 'rfb/rfb.h')
-rw-r--r-- | rfb/rfb.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -579,6 +579,8 @@ typedef struct _rfbClientRec { #ifdef LIBVNCSERVER_HAVE_LIBZ void* zrleData; + int zywrleLevel; + int zywrleBuf[rfbZRLETileWidth * rfbZRLETileHeight]; #endif /* if progressive updating is on, this variable holds the current |