diff options
author | rsc <devnull@localhost> | 2005-07-19 18:00:07 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-07-19 18:00:07 +0000 |
commit | 1c171e3add096f5fbecceefd19f21a43c08b5509 (patch) | |
tree | e8b4ac09d6909617761c9ad476ff295d0e91d195 /src/libndb | |
parent | 86a1a5e7b30c37ad1d1a169855eb7b94b00d6aec (diff) | |
download | plan9port-1c171e3add096f5fbecceefd19f21a43c08b5509.tar.gz plan9port-1c171e3add096f5fbecceefd19f21a43c08b5509.tar.bz2 plan9port-1c171e3add096f5fbecceefd19f21a43c08b5509.zip |
I just hate to be pushed around by some @#$%^& machine.
Diffstat (limited to 'src/libndb')
-rw-r--r-- | src/libndb/ipattr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libndb/ipattr.c b/src/libndb/ipattr.c index d23d5ee0..70f3873c 100644 --- a/src/libndb/ipattr.c +++ b/src/libndb/ipattr.c @@ -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; |