X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Frcvdist.c;h=8ff0365bd6b904fbccfbad319ed7d28d7912bbf5;hb=c897634e1c28697a6df572de00e66579567ad2a6;hp=7d669109abd1a11a1a47d8fea02186fbaae1996e;hpb=2f689a1cb907a5de04e6d39ffd217a69af3216c7;p=mmh diff --git a/uip/rcvdist.c b/uip/rcvdist.c index 7d66910..8ff0365 100644 --- a/uip/rcvdist.c +++ b/uip/rcvdist.c @@ -2,8 +2,6 @@ /* * rcvdist.c -- asynchronously redistribute messages * - * $Id$ - * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -76,10 +74,10 @@ main (int argc, char **argv) "%s [switches] [switches for postproc] address ...", invo_name); print_help (buf, switches, 1); - done (1); + done (0); case VERSIONSW: print_version(invo_name); - done (1); + done (0); case FORMSW: if (!(form = *argp++) || *form == '-') @@ -116,6 +114,10 @@ main (int argc, char **argv) vec[0] = r1bindex (postproc, '/'); vec[vecp++] = "-dist"; vec[vecp++] = drft; + if ((cp = context_find ("mhlproc"))) { + vec[vecp++] = "-mhlproc"; + vec[vecp++] = cp; + } vec[vecp] = NULL; for (i = 0; (child_id = fork()) == NOTOK && i < 5; i++)