Am 15.11.13 15:41, schrieb Gert Doering:
> d0cb816cf8be68359617b61a55799f6330901f6a introduced add_proxy_headers(),
> passing "port" as "const char *" - but it should be an "int".  As port
> is not yet actually used inside add_proxy_headers(), it's just a warning.
>
> Signed-off-by: Gert Doering <g...@greenie.muc.de>
> ---
>  src/openvpn/proxy.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/openvpn/proxy.c b/src/openvpn/proxy.c
> index ed4aedd..c3496e2 100644
> --- a/src/openvpn/proxy.c
> +++ b/src/openvpn/proxy.c
> @@ -492,7 +492,7 @@ bool
>  add_proxy_headers (struct http_proxy_info *p,
>                 socket_descriptor_t sd, /* already open to proxy */
>                 const char *host,       /* openvpn server remote */
> -               const char *port        /* openvpn server port */
> +               const int port          /* openvpn server port */
>                 )
>  {
>    char buf[512];
ACK.

Arne

Attachment: smime.p7s
Description: S/MIME Kryptografische Unterschrift

Reply via email to