Utilize stdbool.h

This commit is contained in:
0x1eef 2024-03-04 23:54:35 -03:00
parent 96c7b39a18
commit 7a5ea4e973

View file

@ -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++;
}