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

Diff for /src/usr.bin/mail/names.c between version 1.7 and 1.8

version 1.7, 1997/07/24 17:27:12 version 1.8, 1997/07/31 02:48:14
Line 101 
Line 101 
 {  {
         register char *cp;          register char *cp;
         register struct name *top, *np, *t;          register struct name *top, *np, *t;
         char nbuf[BUFSIZ];          char *nbuf;
   
         if (line == NULL || *line == '\0')          if (line == NULL || *line == '\0')
                 return(NIL);                  return(NIL);
           if ((nbuf = (char *)malloc(strlen(line) + 1)) == NULL)
                   panic("Out of memory");
         top = NIL;          top = NIL;
         np = NIL;          np = NIL;
         cp = line;          cp = line;
Line 117 
Line 119 
                 t->n_blink = np;                  t->n_blink = np;
                 np = t;                  np = t;
         }          }
           (void)free(nbuf);
         return(top);          return(top);
 }  }
   

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8