[BACK]Return to whois.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / whois

Diff for /src/usr.bin/whois/whois.c between version 1.49 and 1.50

version 1.49, 2015/10/03 01:33:20 version 1.50, 2015/10/09 01:37:09
Line 138 
Line 138 
         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;

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50