From 780a049e29447275bd234a3974b2574316140a5f Mon Sep 17 00:00:00 2001 From: Corentin Chary Date: Wed, 19 May 2010 09:24:03 +0200 Subject: [PATCH] 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 --- vnc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnc.c b/vnc.c index 774a0b3..8db1557 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); -- 2.7.4