Re: [spice-gtk 07/13] Fill g_proxy_address_new() with protocol, user and password

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

 



ACK

On Mon, Feb 03, 2014 at 07:02:38PM +0100, Marc-André Lureau wrote:
> From: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
> 
> This way, the call might eventually support more proxy and
> authentication.
> ---
>  gtk/spice-session.c | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/gtk/spice-session.c b/gtk/spice-session.c
> index 6ac397c..29c84e8 100644
> --- a/gtk/spice-session.c
> +++ b/gtk/spice-session.c
> @@ -1723,8 +1723,11 @@ static void proxy_lookup_ready(GObject *source_object, GAsyncResult *result,
>  
>      for (it = addresses; it != NULL; it = it->next) {
>          address = g_proxy_address_new(G_INET_ADDRESS(it->data),
> -                                      spice_proxy_get_port(open_host->proxy), "http",
> -                                      s->host, open_host->port, NULL, NULL);
> +                                      spice_proxy_get_port(open_host->proxy),
> +                                      spice_proxy_get_protocol(open_host->proxy),
> +                                      s->host, open_host->port,
> +                                      spice_proxy_get_user(open_host->proxy),
> +                                      spice_proxy_get_password(open_host->proxy));
>          if (address != NULL)
>              break;
>      }
> -- 
> 1.8.4.2
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: pgpX1MKRYe3Cv.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]