---
gtk/spice-session.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gtk/spice-session.c b/gtk/spice-session.c
index 7872af7..2dec8c7 100644
--- a/gtk/spice-session.c
+++ b/gtk/spice-session.c
@@ -357,7 +357,9 @@ static gchar* spice_uri_create(SpiceSession *session)
{
SpiceSessionPrivate *s = session->priv;
- if (s->host) {
+ if (s->unix_path) {
+ return g_strdup_printf(URI_SCHEME_SPICE_UNIX "%s", s->unix_path);
+ } else if (s->host) {
GString *str = g_string_new(URI_SCHEME_SPICE);
g_string_append(str, s->host);
--
2.1.0
_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel