[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.27 and 1.28

version 1.27, 2003/06/10 22:20:54 version 1.28, 2003/09/18 22:16:15
Line 214 
Line 214 
                 p = buf + len - 1;                  p = buf + len - 1;
                 if (isspace((unsigned char)*p)) {                  if (isspace((unsigned char)*p)) {
                         do                          do
                                 *p-- = '\0';                                  *p = '\0';
                         while (p != buf && isspace((unsigned char)*p));                          while (p > buf && isspace((unsigned char)*--p));
                 } else {                  } else {
                         if ((nbuf = malloc(len + 1)) == NULL)                          if ((nbuf = malloc(len + 1)) == NULL)
                                 err(1, "malloc");                                  err(1, "malloc");

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28