>diff --git a/uip/rcvdist.c b/uip/rcvdist.c
>index f065ad1d..ee4a50f0 100644
>--- a/uip/rcvdist.c
>+++ b/uip/rcvdist.c
>@@ -86,0 +87,3 @@ main (int argc, char **argv)
>+                   if (argp && *argp && **argp != '-') {
>+                       vec[vecp++] = *argp++;
>+                   }
>
>That solves Steven's immediate problem.  I added a case to
>test-rcvdist to verify and can commit at any time.

I ... do not think that is safe to put in?  It seems to me like that
would fail if your command line looks like:

rcvdist -server foo.bar -tls [email protected] [email protected]

[email protected] would be swallowed and passed to post.  If you just
had one address rcvdist would fail.  You could maybe make sure that you
always put a switch that takes an argument last, but that just seems
lousy as well.

--Ken

-- 
Nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to