(pos): uppercase in character

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14392 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2004-12-13 08:46:07 +00:00
parent 584b9675dd
commit 09647068e1

View File

@@ -116,6 +116,7 @@ static int
pos(char c)
{
const char *p;
c = toupper((unsigned char)c);
for (p = hexchar; *p; p++)
if (*p == c)
return p - hexchar;