summaryrefslogtreecommitdiff
path: root/vnc.h
diff options
context:
space:
mode:
authorCorentin Chary <corentincj@iksaif.net>2010-05-19 09:24:04 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-06-01 12:53:09 -0500
commitb05ad290e2a5d9074179fede31d54371e1a09a6a (patch)
treecbe46b8d447740a8c024d07953d77d53a96a72c7 /vnc.h
parent780a049e29447275bd234a3974b2574316140a5f (diff)
downloadqemu-b05ad290e2a5d9074179fede31d54371e1a09a6a.tar.gz
qemu-b05ad290e2a5d9074179fede31d54371e1a09a6a.tar.bz2
qemu-b05ad290e2a5d9074179fede31d54371e1a09a6a.zip
vnc: only use a single zlib stream
According to http://tigervnc.org/cgi-bin/rfbproto#zlib-encoding zlib encoding only uses a single stream. Current implementation defines 4 streams but only uses the first one. Remove them and only use a single stream. Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vnc.h')
-rw-r--r--vnc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnc.h b/vnc.h
index 0d39897115..6d92c60b12 100644
--- a/vnc.h
+++ b/vnc.h
@@ -177,7 +177,7 @@ struct VncState
/* Zlib */
Buffer zlib;
Buffer zlib_tmp;
- z_stream zlib_stream[4];
+ z_stream zlib_stream;
Notifier mouse_mode_notifier;