(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:
@@ -116,6 +116,7 @@ static int
|
|||||||
pos(char c)
|
pos(char c)
|
||||||
{
|
{
|
||||||
const char *p;
|
const char *p;
|
||||||
|
c = toupper((unsigned char)c);
|
||||||
for (p = hexchar; *p; p++)
|
for (p = hexchar; *p; p++)
|
||||||
if (*p == c)
|
if (*p == c)
|
||||||
return p - hexchar;
|
return p - hexchar;
|
||||||
|
Reference in New Issue
Block a user