summaryrefslogtreecommitdiff
path: root/mailbox/mutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'mailbox/mutil.c')
-rw-r--r--mailbox/mutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mailbox/mutil.c b/mailbox/mutil.c
index ce53794e5..19dbcc1c8 100644
--- a/mailbox/mutil.c
+++ b/mailbox/mutil.c
@@ -75,10 +75,10 @@ mu_hex2ul (char hex)
return hex - '0';
if (hex >= 'a' && hex <= 'z')
- return hex - 'a';
+ return hex - 'a' + 10;
if (hex >= 'A' && hex <= 'Z')
- return hex - 'A';
+ return hex - 'A' + 10;
return -1;
}

Return to:

Send suggestions and report system problems to the System administrator.