From 66c884070e57b8ac3db5ead0f51e73ea0ba3ccb0 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Thu, 5 Jun 2003 00:11:53 +1000 Subject: Revert recently introduced typo: AI_NUMERICHOST -> NI_NUMERICHOST --- canohost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'canohost.c') diff --git a/canohost.c b/canohost.c index 533f2c24a..fd5c58172 100644 --- a/canohost.c +++ b/canohost.c @@ -93,7 +93,7 @@ get_remote_hostname(int socket, int use_dns) */ memset(&hints, 0, sizeof(hints)); hints.ai_socktype = SOCK_DGRAM; /*dummy*/ - hints.ai_flags = AI_NUMERICHOST; + hints.ai_flags = NI_NUMERICHOST; if (getaddrinfo(name, "0", &hints, &ai) == 0) { logit("Nasty PTR record \"%s\" is set up for %s, ignoring", name, ntop); -- cgit v1.2.3