qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: serge.fdrv@gmail.com
Cc: "Stefan Hajnoczi" <stefanha@redhat.com>,
	qemu-trivial@nongnu.org, qemu-devel@nongnu.org,
	"Alex Bligh" <alex@alex.org.uk>,
	"Andreas Färber" <afaerber@suse.de>,
	"Aurelien Jarno" <aurelien@aurel32.net>
Subject: Re: [Qemu-devel] [PATCH] qtest: fix hex2nib for capital characters
Date: Sun, 8 Jun 2014 17:58:26 +0300	[thread overview]
Message-ID: <20140608145826.GB5704@redhat.com> (raw)
In-Reply-To: <1401178560-3852-1-git-send-email-serge.fdrv@gmail.com>

On Tue, May 27, 2014 at 12:16:00PM +0400, serge.fdrv@gmail.com wrote:
> From: Sergey Fedorov <serge.fdrv@gmail.com>
> 
> Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>


Applied, thanks!

> ---
>  qtest.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/qtest.c b/qtest.c
> index 2aba20d..87ccd62 100644
> --- a/qtest.c
> +++ b/qtest.c
> @@ -148,7 +148,7 @@ static int hex2nib(char ch)
>      } else if (ch >= 'a' && ch <= 'f') {
>          return 10 + (ch - 'a');
>      } else if (ch >= 'A' && ch <= 'F') {
> -        return 10 + (ch - 'a');
> +        return 10 + (ch - 'A');
>      } else {
>          return -1;
>      }
> -- 
> 1.9.1

           reply	other threads:[~2014-06-08 14:58 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1401178560-3852-1-git-send-email-serge.fdrv@gmail.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140608145826.GB5704@redhat.com \
    --to=mst@redhat.com \
    --cc=afaerber@suse.de \
    --cc=alex@alex.org.uk \
    --cc=aurelien@aurel32.net \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=serge.fdrv@gmail.com \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).