I just hate to be pushed around by some @#$%^& machine.

This commit is contained in:
rsc 2005-07-19 18:00:07 +00:00
parent 86a1a5e7b3
commit 1c171e3add
15 changed files with 29 additions and 29 deletions

View file

@ -15,11 +15,11 @@ ipattr(char *name)
for(p = name; *p; p++){
c = *p;
if(isdigit(c))
if(isdigit((uchar)c))
continue;
if(isxdigit(c))
if(isxdigit((uchar)c))
hex = 1;
else if(isalpha(c) || c == '-')
else if(isalpha((uchar)c) || c == '-')
alpha = 1;
else if(c == '.')
dot = 1;