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

Diff for /src/usr.bin/mail/main.c between version 1.28 and 1.29

version 1.28, 2015/01/20 16:59:07 version 1.29, 2015/01/22 16:25:07
Line 185 
Line 185 
         /*          /*
          * Check for inconsistent arguments.           * Check for inconsistent arguments.
          */           */
         if (to == NULL && (subject != NULL || cc != NULL || bcc != NULL))          if (to == NULL && (subject != NULL || cc != NULL || bcc != NULL ||
                 errx(1, "You must specify direct recipients with -s, -c, or -b");              fromaddr != NULL))
                   errx(1, "You must specify direct recipients with -s, -c, -b, "
                       "or -r");
         /*          /*
          * Block SIGINT except where we install an explicit handler for it.           * Block SIGINT except where we install an explicit handler for it.
          */           */

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