From patchwork Fri Dec 2 13:50:31 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 128870 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 88553B6F75 for ; Sat, 3 Dec 2011 01:13:16 +1100 (EST) Received: from localhost ([::1]:46644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWTZH-0004ir-3b for incoming@patchwork.ozlabs.org; Fri, 02 Dec 2011 08:54:23 -0500 Received: from eggs.gnu.org ([140.186.70.92]:50893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWTZ3-00044E-L9 for qemu-devel@nongnu.org; Fri, 02 Dec 2011 08:54:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWTYj-0008CS-9j for qemu-devel@nongnu.org; Fri, 02 Dec 2011 08:53:59 -0500 Received: from e06smtp12.uk.ibm.com ([195.75.94.108]:38002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWTYi-00085j-OB for qemu-devel@nongnu.org; Fri, 02 Dec 2011 08:53:49 -0500 Received: from /spool/local by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 2 Dec 2011 13:52:52 -0000 Received: from d06nrmr1806.portsmouth.uk.ibm.com ([9.149.39.193]) by e06smtp12.uk.ibm.com ([192.168.101.142]) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 2 Dec 2011 13:52:50 -0000 Received: from d06av06.portsmouth.uk.ibm.com (d06av06.portsmouth.uk.ibm.com [9.149.37.217]) by d06nrmr1806.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pB2Dqnhq2625704 for ; Fri, 2 Dec 2011 13:52:49 GMT Received: from d06av06.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av06.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pB2Dqf3a005828 for ; Fri, 2 Dec 2011 06:52:41 -0700 Received: from localhost (stefanha-thinkpad.manchester-maybrook.uk.ibm.com [9.174.219.31]) by d06av06.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id pB2Dqf7q005825; Fri, 2 Dec 2011 06:52:41 -0700 From: Stefan Hajnoczi To: Date: Fri, 2 Dec 2011 13:50:31 +0000 Message-Id: <1322833833-9969-14-git-send-email-stefanha@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1322833833-9969-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1322833833-9969-1-git-send-email-stefanha@linux.vnet.ibm.com> x-cbid: 11120213-8372-0000-0000-000000FB6BF0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.75.94.108 Cc: Anthony Liguori , Dong Xu Wang , Stefan Hajnoczi Subject: [Qemu-devel] [PATCH 13/15] fix spelling in ui sub directory X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Dong Xu Wang Cc: Anthony Liguori Signed-off-by: Dong Xu Wang Signed-off-by: Stefan Hajnoczi --- ui/vnc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/vnc.c b/ui/vnc.c index 40018f7..e85ee66 100644 --- a/ui/vnc.c +++ b/ui/vnc.c @@ -1732,7 +1732,7 @@ static void set_encodings(VncState *vs, int32_t *encodings, size_t n_encodings) /* * Start from the end because the encodings are sent in order of preference. - * This way the prefered encoding (first encoding defined in the array) + * This way the preferred encoding (first encoding defined in the array) * will be set at the end of the loop. */ for (i = n_encodings - 1; i >= 0; i--) { @@ -2117,7 +2117,7 @@ static int protocol_client_auth_vnc(VncState *vs, uint8_t *data, size_t len) /* Compare expected vs actual challenge response */ if (memcmp(response, data, VNC_AUTH_CHALLENGE_SIZE) != 0) { - VNC_DEBUG("Client challenge reponse did not match\n"); + VNC_DEBUG("Client challenge response did not match\n"); goto reject; } else { VNC_DEBUG("Accepting VNC challenge response\n");