[Spice-commits] gtk/spice-session.c
Marc-André Lureau
elmarco at kemper.freedesktop.org
Mon Jul 7 07:38:42 PDT 2014
gtk/spice-session.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 556ebfe949415b217104b51077da0b95da7726c4
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date: Thu Jul 3 18:48:31 2014 +0200
session: prefix proxy lookup errors
Proxy errors are already reported with G_IO_ERROR_PROXY messages,
however proxy name lookup error can be more detailed.
https://bugzilla.redhat.com/show_bug.cgi?id=1115986
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;
}
More information about the Spice-commits
mailing list