summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-07-04 20:16:18 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-07-04 20:16:18 +0000
commitc16e19ce773251aacb50ac1777d29233dda1ead1 (patch)
treeab2977ce9f31c55b23b09f375395a395cd8b9276
parent1b40f8c0365e20df94a8b84b2862c263a6c88c6e (diff)
Notes
-rw-r--r--contrib/tcp_wrappers/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tcp_wrappers/socket.c b/contrib/tcp_wrappers/socket.c
index 47f3df6a02a7..e53d5c3b6cef 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",