new commands saveignore, saveretain, and savediscard
[unix-history] / usr / src / usr.bin / mail / cmd1.c
index 14a59e3..6dcce07 100644 (file)
@@ -11,7 +11,7 @@
  */
 
 #ifdef notdef
  */
 
 #ifdef notdef
-static char sccsid[] = "@(#)cmd1.c     5.5 (Berkeley) %G%";
+static char sccsid[] = "@(#)cmd1.c     5.6 (Berkeley) %G%";
 #endif /* notdef */
 
 #include "rcv.h"
 #endif /* notdef */
 
 #include "rcv.h"
@@ -340,7 +340,7 @@ type1(msgvec, doign, page)
                dot = mp;
                if (value("quiet") == NOSTR)
                        fprintf(obuf, "Message %d:\n", mesg);
                dot = mp;
                if (value("quiet") == NOSTR)
                        fprintf(obuf, "Message %d:\n", mesg);
-               send(mp, obuf, doign);
+               send(mp, obuf, doign ? ignore : 0);
        }
        if (obuf != stdout) {
                pipef = NULL;
        }
        if (obuf != stdout) {
                pipef = NULL;