[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] rcvdist with non-default port
From: |
Ken Hornstein |
Subject: |
Re: [Nmh-workers] rcvdist with non-default port |
Date: |
Sun, 14 Jan 2018 20:43:04 -0500 |
>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 address@hidden address@hidden
address@hidden 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
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, (continued)
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Steven Winikoff, 2018/01/14
- Re: [Nmh-workers] rcvdist with non-default port, David Levine, 2018/01/14
- Re: [Nmh-workers] rcvdist with non-default port, Steven Winikoff, 2018/01/14
- Re: [Nmh-workers] rcvdist with non-default port, David Levine, 2018/01/14
- Re: [Nmh-workers] rcvdist with non-default port, Steven Winikoff, 2018/01/14
- Re: [Nmh-workers] rcvdist with non-default port, David Levine, 2018/01/14
- Re: [Nmh-workers] rcvdist with non-default port, Ken Hornstein, 2018/01/14
- Re: [Nmh-workers] rcvdist with non-default port, Steven Winikoff, 2018/01/14
- Re: [Nmh-workers] rcvdist with non-default port, Ken Hornstein, 2018/01/14
- Re: [Nmh-workers] rcvdist with non-default port, David Levine, 2018/01/14
- Re: [Nmh-workers] rcvdist with non-default port,
Ken Hornstein <=
- Re: [Nmh-workers] rcvdist with non-default port, David Levine, 2018/01/15
- Re: [Nmh-workers] rcvdist with non-default port, Ken Hornstein, 2018/01/15
- Re: [Nmh-workers] rcvdist with non-default port, David Levine, 2018/01/15
- Re: [Nmh-workers] rcvdist with non-default port, Ken Hornstein, 2018/01/15
- Re: [Nmh-workers] rcvdist with non-default port, Steven Winikoff, 2018/01/15
- Re: [Nmh-workers] rcvdist with non-default port, David Levine, 2018/01/15
- Re: [Nmh-workers] rcvdist with non-default port, Steven Winikoff, 2018/01/15
- Re: [Nmh-workers] rcvdist with non-default port, Ken Hornstein, 2018/01/15
- Re: [Nmh-workers] rcvdist with non-default port, Steven Winikoff, 2018/01/15
- Re: [Nmh-workers] rcvdist with non-default port, Ken Hornstein, 2018/01/15