wget-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wget2 | Add option --bind-interface (!462)


From: Tim Rühsen
Subject: Re: wget2 | Add option --bind-interface (!462)
Date: Tue, 10 Dec 2019 07:19:49 +0000



Tim Rühsen started a new discussion on libwget/net.c: 
https://gitlab.com/gnuwget/wget2/merge_requests/462#note_257963416

>  
> +/**
> + * \param[in] tcp A TCP connection. Might be NULL.
> + * \param[in] bind_interface A network interface name.
> + *
> + * Set the Network Interface the socket \p tcp will bind to on the local 
> machine
> + * when connecting to a remote host.
> + *
> + * This is mainly relevant to wget_tcp_connect().
> + */
> +void wget_tcp_set_bind_interface(wget_tcp *tcp, const char *bind_interface)
> +{
> +     if (!tcp)
> +             tcp = &global_tcp;
> +
> +     tcp->bind_interface=bind_interface;

Missing space around `=`.

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/merge_requests/462#note_257963416
You're receiving this email because of your account on gitlab.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]