X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Frcvdist.c;h=ac1914978348471a5371073234a9c0f5c043e2d4;hp=58bf62dda2a4a26254724d7119ea7cb059997bc5;hb=3b91e463fc7a4db9e7b69e2e0f4f7909339beea5;hpb=5b92ee6942b9b466914f5faa5fa4c00a2ebc6d35 diff --git a/uip/rcvdist.c b/uip/rcvdist.c index 58bf62d..ac19149 100644 --- a/uip/rcvdist.c +++ b/uip/rcvdist.c @@ -66,7 +66,7 @@ main(int argc, char **argv) continue; case HELPSW: - snprintf(buf, sizeof(buf), "%s [switches] [switches for postproc] address ...", invo_name); + snprintf(buf, sizeof(buf), "%s [switches] [switches for spost] address ...", invo_name); print_help(buf, switches, 1); done(1); case VERSIONSW: @@ -85,7 +85,7 @@ main(int argc, char **argv) } if (!addrs) { - adios(NULL, "usage: %s [switches] [switches for postproc] address ...", invo_name); + adios(NULL, "usage: %s [switches] [switches for spost] address ...", invo_name); } umask(~m_gmprot()); @@ -108,14 +108,14 @@ main(int argc, char **argv) done(1); } - vec[0] = mhbasename(postproc); + vec[0] = "spost"; vec[vecp++] = "-dist"; vec[vecp++] = drft; vec[vecp] = NULL; - execvp(postproc, vec); + execvp(*vec, vec); fprintf(stderr, "unable to exec "); - perror(postproc); + perror(*vec); _exit(1); return 0; /* dead code to satisfy the compiler */ }