mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
lint
This commit is contained in:
parent
7b24a94d11
commit
e63f7c6f55
2 changed files with 4 additions and 3 deletions
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue