From patchwork Tue May 18 12:49:38 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Chary X-Patchwork-Id: 52875 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C4361B7D81 for ; Tue, 18 May 2010 22:54:04 +1000 (EST) Received: from localhost ([127.0.0.1]:40025 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEMJ6-0005QN-Jp for incoming@patchwork.ozlabs.org; Tue, 18 May 2010 08:54:00 -0400 Received: from [140.186.70.92] (port=48265 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEMBd-0001cb-HJ for qemu-devel@nongnu.org; Tue, 18 May 2010 08:46:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OEMBV-0006pI-Tg for qemu-devel@nongnu.org; Tue, 18 May 2010 08:46:17 -0400 Received: from iksaif.net ([88.191.73.63]:37945) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEMBU-0006oN-JS for qemu-devel@nongnu.org; Tue, 18 May 2010 08:46:08 -0400 Received: from localhost.localdomain (localhost [127.0.0.1]) (Authenticated sender: corentincj@iksaif.net) by iksaif.net (Postfix) with ESMTPA id EAE03C9001B; Tue, 18 May 2010 14:49:51 +0200 (CEST) From: Corentin Chary To: qemu-devel@nongnu.org Date: Tue, 18 May 2010 14:49:38 +0200 Message-Id: <1274186986-26878-3-git-send-email-corentincj@iksaif.net> X-Mailer: git-send-email 1.7.0.2 In-Reply-To: <1274186986-26878-1-git-send-email-corentincj@iksaif.net> References: <1274186986-26878-1-git-send-email-corentincj@iksaif.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: Corentin Chary , Anthony Liguori , Alexander Graf , Adam Litke Subject: [Qemu-devel] [PATCH v2 02/10] vnc: really call zlib if we want zlib X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org send_framebuffer_update() was calling hextile instead of zlib since commit 70a4568fe0c5a64adaa3da5030b7109e5199e692. Signed-off-by: Corentin Chary Acked-by: Alexander Graf --- vnc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/vnc.c b/vnc.c index a91c3a3..d0c0d00 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);