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

Diff for /src/usr.bin/mail/collect.c between version 1.33 and 1.34

version 1.33, 2011/04/06 11:36:26 version 1.34, 2014/01/17 18:42:30
Line 155 
Line 155 
                                 goto err;                                  goto err;
                         continue;                          continue;
                 }                  }
                 c = linebuf[1];                  c = (unsigned char)linebuf[1];
                 switch (c) {                  switch (c) {
                 default:                  default:
                         /*                          /*
Line 221 
Line 221 
                          * Set the Subject list.                           * Set the Subject list.
                          */                           */
                         cp = &linebuf[2];                          cp = &linebuf[2];
                         while (isspace(*cp))                          while (isspace((unsigned char)*cp))
                                 cp++;                                  cp++;
                         hp->h_subject = savestr(cp);                          hp->h_subject = savestr(cp);
                         break;                          break;
Line 249 
Line 249 
                          * then open it and copy the contents to collf.                           * then open it and copy the contents to collf.
                          */                           */
                         cp = &linebuf[2];                          cp = &linebuf[2];
                         while (isspace(*cp))                          while (isspace((unsigned char)*cp))
                                 cp++;                                  cp++;
                         if (*cp == '\0') {                          if (*cp == '\0') {
                                 puts("Interpolate what file?");                                  puts("Interpolate what file?");

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34