I just hate to be pushed around by some @#$%^& machine.
This commit is contained in:
parent
86a1a5e7b3
commit
1c171e3add
15 changed files with 29 additions and 29 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue