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++;
|
||||
hexdigits++;
|
||||
if (digitlen > MAX_DIGITLEN) {
|
||||
return 0;
|
||||
return false;
|
||||
} else if (str[i-1] == SEP) {
|
||||
hextets++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue