From: Corentin Chary Date: Wed, 19 May 2010 07:24:03 +0000 (+0200) Subject: vnc: really call zlib if we want zlib X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=780a049e29447275bd234a3974b2574316140a5f;p=qemu.git vnc: really call zlib if we want zlib send_framebuffer_update() was calling hextile instead of zlib since commit 70a4568fe0c5a64adaa3da5030b7109e5199e692. Signed-off-by: Corentin Chary Signed-off-by: Anthony Liguori --- diff --git a/vnc.c b/vnc.c index 774a0b315a..8db15577de 100644 --- a/vnc.c +++ b/vnc.c @@ -661,7 +661,7 @@ static void send_framebuffer_update(VncState *vs, int x, int y, int w, int h) { switch(vs->vnc_encoding) { case VNC_ENCODING_ZLIB: - vnc_hextile_send_framebuffer_update(vs, x, y, w, h); + vnc_zlib_send_framebuffer_update(vs, x, y, w, h); break; case VNC_ENCODING_HEXTILE: vnc_framebuffer_update(vs, x, y, w, h, VNC_ENCODING_HEXTILE);