From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:54354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSnGM-0005fz-8z for qemu-devel@nongnu.org; Tue, 22 Nov 2011 05:07:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSnGL-00062h-0I for qemu-devel@nongnu.org; Tue, 22 Nov 2011 05:07:38 -0500 Received: from e28smtp04.in.ibm.com ([122.248.162.4]:60711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSnGJ-00061i-Ab for qemu-devel@nongnu.org; Tue, 22 Nov 2011 05:07:36 -0500 Received: from /spool/local by e28smtp04.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 22 Nov 2011 15:37:31 +0530 From: Dong Xu Wang Date: Tue, 22 Nov 2011 18:06:24 +0800 Message-Id: <1321956386-12004-9-git-send-email-wdongxu@linux.vnet.ibm.com> In-Reply-To: <1321956386-12004-1-git-send-email-wdongxu@linux.vnet.ibm.com> References: <1321956386-12004-1-git-send-email-wdongxu@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 09/11] fix spelling in ui sub directory List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Anthony Liguori , Dong Xu Wang , stefanha@linux.vnet.ibm.com From: Dong Xu Wang Cc: Anthony Liguori Signed-off-by: Dong Xu Wang --- 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.5.4