X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fspost.c;h=30e283f44cf180cd4ec62720f76c4ab0b850d5e4;hb=921908704b980c90c3c68545be7f4d42718bfba4;hp=73f9b0a3b46e0a0875ec0276c15755aa9e636161;hpb=e6705626cc95da96d367bc147ed0419a56f7c37a;p=mmh diff --git a/uip/spost.c b/uip/spost.c index 73f9b0a..30e283f 100644 --- a/uip/spost.c +++ b/uip/spost.c @@ -298,16 +298,6 @@ main(int argc, char **argv) fcc(tmpfil, fccs); } - argp = sargv; - *argp++ = "send-mail"; - *argp++ = "-m"; /* send to me too */ - *argp++ = "-t"; /* read msg for recipients */ - *argp++ = "-i"; /* don't stop on "." */ - if (watch || verbose) { - *argp++ = "-v"; - } - *argp = NULL; - if (bccs) { process_bccs(tmpfil); if (!(msgflags & MVIS)) { @@ -326,6 +316,15 @@ main(int argc, char **argv) } unlink(tmpfil); + argp = sargv; + *argp++ = "send-mail"; + *argp++ = "-m"; /* send to me too */ + *argp++ = "-t"; /* read msg for recipients */ + *argp++ = "-i"; /* don't stop on "." */ + if (watch || verbose) { + *argp++ = "-v"; + } + *argp = NULL; execv(sendmail, sargv); adios(sendmail, "can't exec"); return -1;