Return to whois.c CVS log | Up to [local] / src / usr.bin / whois |
version 1.49, 2015/10/03 01:33:20 | version 1.50, 2015/10/09 01:37:09 | ||
---|---|---|---|
|
|
||
if (!argc || (country != NULL && host != NULL)) | if (!argc || (country != NULL && host != NULL)) | ||
usage(); | usage(); | ||
if (tame("stdio dns inet", NULL) == -1) | if (pledge("stdio dns inet", NULL) == -1) | ||
err(1, "tame"); | err(1, "pledge"); | ||
if (host == NULL && country == NULL && !(flags & WHOIS_QUICK)) | if (host == NULL && country == NULL && !(flags & WHOIS_QUICK)) | ||
flags |= WHOIS_RECURSE; | flags |= WHOIS_RECURSE; |