[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.44 and 1.45

version 1.44, 2013/03/05 16:09:10 version 1.45, 2013/11/25 18:06:32
Line 231 
Line 231 
   
                 if ((p = strstr(buf, WHOIS_SERVER_ID))) {                  if ((p = strstr(buf, WHOIS_SERVER_ID))) {
                         p += sizeof(WHOIS_SERVER_ID) - 1;                          p += sizeof(WHOIS_SERVER_ID) - 1;
                         while (isblank(*p))                          while (isblank((unsigned char)*p))
                                 p++;                                  p++;
                         if ((len = strcspn(p, " \t\n\r"))) {                          if ((len = strcspn(p, " \t\n\r"))) {
                                 if ((nhost = malloc(len + 1)) == NULL)                                  if ((nhost = malloc(len + 1)) == NULL)

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45