diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-06-05 00:11:53 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-06-05 00:11:53 +1000 |
commit | 66c884070e57b8ac3db5ead0f51e73ea0ba3ccb0 (patch) | |
tree | 987ab1a83d76b399d3206b7fea4da9d8cbf2cf84 /canohost.c | |
parent | 0cbb9dea050942c643f739b79d0d9f30d75da213 (diff) |
Revert recently introduced typo: AI_NUMERICHOST -> NI_NUMERICHOST
Diffstat (limited to 'canohost.c')
-rw-r--r-- | canohost.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |