[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, master, updated. v0.9.19-520-g1552abf

Lennart Poettering gitmailer-noreply at 0pointer.de
Sun Jul 18 16:27:05 PDT 2010


This is an automated email from the git hooks/post-receive script. It was
generated because of a push to the "PulseAudio Sound Server" repository.

The master branch has been updated
      from  f26c849efc23e5dddf1b11773b1d19a67491a504 (commit)

- Log -----------------------------------------------------------------
1552abf udev: fix hex decoding
-----------------------------------------------------------------------

Summary of changes:
 src/modules/udev-util.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

-----------------------------------------------------------------------

commit 1552abf62820e063e933e54372bec25f8ea2f68a
Author: Lennart Poettering <lennart at poettering.net>
Date:   Mon Jul 19 01:27:15 2010 +0200

    udev: fix hex decoding

diff --git a/src/modules/udev-util.c b/src/modules/udev-util.c
index eee5409..52df103 100644
--- a/src/modules/udev-util.c
+++ b/src/modules/udev-util.c
@@ -63,10 +63,10 @@ static int dehex(char x) {
         return x - '0';
 
     if (x >= 'A' && x <= 'F')
-        return x - 'A';
+        return x - 'A' + 10;
 
     if (x >= 'a' && x <= 'f')
-        return x - 'a';
+        return x - 'a' + 10;
 
     return -1;
 }

-- 
hooks/post-receive
PulseAudio Sound Server



More information about the pulseaudio-commits mailing list