mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
lint
This commit is contained in:
@@ -173,7 +173,7 @@ all_digits(const char *s) {
|
||||
if (*s == '\0')
|
||||
return (ISC_FALSE);
|
||||
while (*s != '\0') {
|
||||
if (!isdigit(*s))
|
||||
if (!isdigit((*s)&0xff))
|
||||
return (ISC_FALSE);
|
||||
s++;
|
||||
}
|
||||
|
@@ -130,8 +130,9 @@ getnameinfo(const struct sockaddr *sa, size_t salen, char *host,
|
||||
break;
|
||||
|
||||
default:
|
||||
INSIST(port = 0);
|
||||
INSIST(addr = NULL);
|
||||
port = 0;
|
||||
addr = NULL;
|
||||
INSIST(0);
|
||||
}
|
||||
proto = (flags & NI_DGRAM) ? "udp" : "tcp";
|
||||
|
||||
|
Reference in New Issue
Block a user