[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.9 and 1.10

version 1.9, 1999/11/19 03:50:49 version 1.10, 1999/11/19 03:57:14
Line 250 
Line 250 
                 if ((flags & WHOIS_INIC_FALLBACK) && !nhost && !nomatch &&                  if ((flags & WHOIS_INIC_FALLBACK) && !nhost && !nomatch &&
                     (p = strstr(buf, "No match for \""))) {                      (p = strstr(buf, "No match for \""))) {
                         p += sizeof("No match for \"") - 1;                          p += sizeof("No match for \"") - 1;
                         if ((len = strcspn(p, "\"")) &&                          if ((len = strcspn(p, "\"")) && len == strlen(name) &&
                             strncasecmp(name, p, len) == 0)                              strncasecmp(name, p, len) == 0)
                                 nomatch = 1;                                  nomatch = 1;
                 }                  }

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10