X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fwhatnowsbr.c;h=c3d93ff6b65e352f1c4ee7c70997e99454a4b5ab;hb=3a84d814004fd4557bf4f44952648e9e69bd22a8;hp=18c25f884ebcbcb5b2a825b26ad1a059069d97f4;hpb=d2e40bd9ce3c3973a1666eaa9477cea927baf84f;p=mmh diff --git a/uip/whatnowsbr.c b/uip/whatnowsbr.c index 18c25f8..c3d93ff 100644 --- a/uip/whatnowsbr.c +++ b/uip/whatnowsbr.c @@ -1144,6 +1144,16 @@ sendit (char *sp, char **arg, char *file, int pushed) vec[vecp++] = "-library"; vec[vecp++] = getcpy (m_maildir ("")); + if ((cp = context_find ("fileproc"))) { + vec[vecp++] = "-fileproc"; + vec[vecp++] = cp; + } + + if ((cp = context_find ("mhlproc"))) { + vec[vecp++] = "-mhlproc"; + vec[vecp++] = cp; + } + while ((cp = *argp++)) { if (*cp == '-') { switch (smatch (++cp, sendswitches)) { @@ -1303,6 +1313,7 @@ sendit (char *sp, char **arg, char *file, int pushed) && altmsg) { vec[vecp++] = "-dist"; distfile = getcpy (m_mktemp2(altmsg, invo_name, NULL, NULL)); + unlink(distfile); if (link (altmsg, distfile) == NOTOK) adios (distfile, "unable to link %s to", altmsg); } else {