From mboxrd@z Thu Jan 1 00:00:00 1970 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 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 From: Stefan Hajnoczi Date: Fri, 2 Dec 2011 13:50:31 +0000 Message-Id: <1322833833-9969-14-git-send-email-stefanha@linux.vnet.ibm.com> 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> Subject: [Qemu-devel] [PATCH 13/15] fix spelling in ui sub directory List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Anthony Liguori , Dong Xu Wang , Stefan Hajnoczi 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"); -- 1.7.7.3