[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH] ssl_client: fix option parsing
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2018-03-20 10:42:05
Message-ID: CAK1hOcPFAQqONVqyD9S+Bt=pZdJPK6XJB02tbWSUW2KP+r4uOA () mail ! gmail ! com
[Download RAW message or body]

Applied, thanks!

On Wed, Mar 14, 2018 at 1:03 PM, Ron Yorston <rmy@pobox.com> wrote:
> The wrong character was used to indicate options taking an integer
> parameter.
>
> Signed-off-by: Ron Yorston <rmy@pobox.com>
> ---
>  networking/ssl_client.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/networking/ssl_client.c b/networking/ssl_client.c
> index eb84e7726..875352d18 100644
> --- a/networking/ssl_client.c
> +++ b/networking/ssl_client.c
> @@ -30,7 +30,7 @@ int ssl_client_main(int argc UNUSED_PARAM, char **argv)
>         // INIT_G();
>
>         tls = new_tls_state();
> -       opt = getopt32(argv, "es:#r:#n:", &tls->ofd, &tls->ifd, &sni);
> +       opt = getopt32(argv, "es:+r:+n:", &tls->ofd, &tls->ifd, &sni);
>         if (!(opt & (1<<2))) {
>                 /* -r N defaults to -s N */
>                 tls->ifd = tls->ofd;
> --
> 2.14.3
>
> _______________________________________________
> busybox mailing list
> busybox@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic