X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/353379e5a18ec6707750639e19156bbac1c8d8ce..6db45651:/uip/whom.c?ds=sidebyside diff --git a/uip/whom.c b/uip/whom.c index 411c4770..c1ef6592 100644 --- a/uip/whom.c +++ b/uip/whom.c @@ -1,6 +1,4 @@ - -/* - * whom.c -- report to whom a message would be sent +/* whom.c -- report to whom a message would be sent * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -10,6 +8,8 @@ #include #include #include +#include "../sbr/m_maildir.h" +#include "../sbr/m_mktemp.h" #ifndef CYRUS_SASL # define SASLminc(a) (a) @@ -143,8 +143,7 @@ main (int argc, char **argv) } if (msg) adios (NULL, "only one draft at a time!"); - else - vec[vecp++] = msg = cp; + vec[vecp++] = msg = cp; } /* allow Aliasfile: profile entry */ @@ -182,7 +181,8 @@ main (int argc, char **argv) switch (distsw ? child_id : OK) { case NOTOK: - advise (NULL, "unable to fork, so checking directly..."); + inform("unable to fork, so checking directly..."); + /* FALLTHRU */ case OK: execvp (postproc, vec); fprintf (stderr, "unable to exec ");