summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-02-17 10:26:51 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-02-17 10:26:51 +0000
commit5b0924d6fa1724051789db9311030af325e9ecf2 (patch)
tree3e0b2e9f67ac4707bb4a178bd0690df4ef9bdabf /src
parentb6bf294ed35f5d9c0264323afd44417f035757d8 (diff)
Fix char_to_hex upper chars, this fixes listxml output (no whatsnew)
Diffstat (limited to 'src')
-rw-r--r--src/lib/util/hashing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/hashing.c b/src/lib/util/hashing.c
index 866cec8fc0d..3935438bfcb 100644
--- a/src/lib/util/hashing.c
+++ b/src/lib/util/hashing.c
@@ -68,7 +68,7 @@ inline int char_to_hex(char c)
if (c >= 'a' && c <= 'f')
return 10 + c - 'a';
if (c >= 'A' && c <= 'F')
- return 10 + c - 'a';
+ return 10 + c - 'A';
return -1;
}