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

Diff for /src/usr.bin/mail/lex.c between version 1.17 and 1.18

version 1.17, 1998/06/12 18:07:57 version 1.18, 1998/09/08 14:59:12
Line 510 
Line 510 
         extern const struct cmd cmdtab[];          extern const struct cmd cmdtab[];
         const struct cmd *cp;          const struct cmd *cp;
   
           if (word[0] == '#')
                   word = "#";
         for (cp = &cmdtab[0]; cp->c_name != NULL; cp++)          for (cp = &cmdtab[0]; cp->c_name != NULL; cp++)
                 if (isprefix(word, cp->c_name))                  if (isprefix(word, cp->c_name))
                         return(cp);                          return(cp);

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18