Utilize stdbool.h
This commit is contained in:
parent
96c7b39a18
commit
7a5ea4e973
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ isinetaddr6(const char *str)
|
||||||
digitlen++;
|
digitlen++;
|
||||||
hexdigits++;
|
hexdigits++;
|
||||||
if (digitlen > MAX_DIGITLEN) {
|
if (digitlen > MAX_DIGITLEN) {
|
||||||
return 0;
|
return false;
|
||||||
} else if (str[i-1] == SEP) {
|
} else if (str[i-1] == SEP) {
|
||||||
hextets++;
|
hextets++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue