From 61e517772f85a647e6b3e7ebca877f64b25091f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 18 Oct 2012 15:21:19 +0200 Subject: [PATCH 18/21] channel: improve debugging message The open_host() can return FALSE when the connection is discarded or skipped. Improve the message to not indicate a failure. https://bugzilla.redhat.com/show_bug.cgi?id=858232 --- gtk/spice-channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/spice-channel.c b/gtk/spice-channel.c index c5e8d9f..fea46d7 100644 --- a/gtk/spice-channel.c +++ b/gtk/spice-channel.c @@ -2119,7 +2119,7 @@ reconnect: c->sock = spice_session_channel_open_host(c->session, channel, c->tls); if (c->sock == NULL) { if (!c->tls) { - CHANNEL_DEBUG(channel, "connection failed, trying with TLS port"); + CHANNEL_DEBUG(channel, "trying with TLS port"); c->tls = true; /* FIXME: does that really work with provided fd */ goto reconnect; } else { -- 1.7.12.1