Re: [PATCH spice-gtk] session: prefix proxy lookup errors

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

 



On 07/03/2014 07:49 PM, Marc-André Lureau wrote:
> Proxy errors are already reported with G_IO_ERROR_PROXY messages,
> however proxy name lookup error can be more detailed.

ACK

> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1115986
> ---
>  gtk/spice-session.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/gtk/spice-session.c b/gtk/spice-session.c
> index fed57a4..7aef787 100644
> --- a/gtk/spice-session.c
> +++ b/gtk/spice-session.c
> @@ -1730,6 +1730,7 @@ static void proxy_lookup_ready(GObject *source_object, GAsyncResult *result,
>      addresses = g_resolver_lookup_by_name_finish(G_RESOLVER(source_object),
>                                                   result, &open_host->error);
>      if (addresses == NULL || open_host->error) {
> +        g_prefix_error(&open_host->error, "SPICE proxy: ");
>          coroutine_yieldto(open_host->from, NULL);
>          return;
>      }
> 

_______________________________________________
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]