[Spice-commits] gtk/spice-session.c
Christophe Fergau
teuf at kemper.freedesktop.org
Mon Mar 23 02:52:31 PDT 2015
gtk/spice-session.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 6a762546bf5d04b51a10bc2a58f791972168ffdf
Author: Christophe Fergeau <cfergeau at redhat.com>
Date: Thu Mar 12 11:37:05 2015 +0100
session: Tone down warning on TLS-only connections
315c1a5 "session: Add more debugging logs" causes a g_warning() to be
shown when attempting a TLS connection without specifying a non-TLS
port.
This commit makes the message more explicit, and switches it from being
a warning to being a debug message.
diff --git a/gtk/spice-session.c b/gtk/spice-session.c
index 516184d..1a68d7d 100644
--- a/gtk/spice-session.c
+++ b/gtk/spice-session.c
@@ -2109,7 +2109,8 @@ GSocketConnection* spice_session_channel_open_host(SpiceSession *session, SpiceC
} else {
port = *use_tls ? s->tls_port : s->port;
if (port == NULL) {
- g_warning("Missing port value (use_tls: %d)", *use_tls);
+ g_debug("Missing port value, not attempting %s connection.",
+ *use_tls?"TLS":"unencrypted");
return NULL;
}
More information about the Spice-commits
mailing list