Patchwork [v3,03/12] vnc: really call zlib if we want zlib

login
register
mail settings
Submitter Corentin Chary
Date May 19, 2010, 7:24 a.m.
Message ID <1274253852-16068-4-git-send-email-corentincj@iksaif.net>
Download mbox | patch
Permalink /patch/52953/
State New
Headers show

Comments

Corentin Chary - May 19, 2010, 7:24 a.m.
send_framebuffer_update() was calling hextile instead of zlib
since commit 70a4568fe0c5a64adaa3da5030b7109e5199e692.

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
---
 vnc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/vnc.c b/vnc.c
index d0402b9..e81a2a5 100644
--- a/vnc.c
+++ b/vnc.c
@@ -655,7 +655,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);