diff options
Diffstat (limited to 'contrib/tcp_wrappers')
-rw-r--r-- | contrib/tcp_wrappers/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tcp_wrappers/socket.c b/contrib/tcp_wrappers/socket.c index 47f3df6..e53d5c3 100644 --- a/contrib/tcp_wrappers/socket.c +++ b/contrib/tcp_wrappers/socket.c @@ -222,7 +222,7 @@ struct host_info *host; hints.ai_family = sin->sa_family; hints.ai_socktype = SOCK_STREAM; hints.ai_flags = AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST; - if ((err = getaddrinfo(host->name, NULL, &hints, &res0) == 0)) { + if ((err = getaddrinfo(host->name, NULL, &hints, &res0)) == 0) { freeaddrinfo(res0); tcpd_warn("host name/name mismatch: " "reverse lookup results in non-FQDN %s", |