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

Diff for /src/usr.bin/mail/cmd1.c between version 1.22 and 1.23

version 1.22, 2001/11/21 20:41:55 version 1.23, 2003/05/15 02:47:47
Line 192 
Line 192 
 {  {
         struct message *mp;          struct message *mp;
         char headline[LINESIZE], wcount[LINESIZE], *subjline, dispc, curind;          char headline[LINESIZE], wcount[LINESIZE], *subjline, dispc, curind;
           char visline[LINESIZE];
         char pbuf[BUFSIZ];          char pbuf[BUFSIZ];
         struct headline hl;          struct headline hl;
         int subjlen;          int subjlen;
Line 240 
Line 241 
                 subjline="";                  subjline="";
                 subjlen=0;                  subjlen=0;
         }          }
           printf("%c%c%3d ", curind, dispc, mesg);
           strnvis(visline, name, sizeof(visline), VIS_SAFE|VIS_NOSLASH);
         if (name == to)          if (name == to)
                 printf("%c%c%3d TO %-14.14s  %16.16s %s %.*s\n",                  printf("TO %-14.14s", visline);
                         curind, dispc, mesg, name, hl.l_date, wcount,  
                         subjlen, subjline);  
         else          else
                 printf("%c%c%3d %-17.17s  %16.16s %s %.*s\n",                  printf("%-17.17s", visline);
                         curind, dispc, mesg, name, hl.l_date, wcount,          /* hl.l_date was sanity-checked when read in.  wcount we just made. */
                         subjlen, subjline);          strnvis(visline, subjline, sizeof(visline), VIS_SAFE|VIS_NOSLASH);
           printf("  %16.16s %s %.*s\n", hl.l_date, wcount, subjlen, visline);
 }  }
   
 /*  /*

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23