[spice-gtk] session: Tone down warning on TLS-only connections

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

 



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.
---
 gtk/spice-session.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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;
         }
 
-- 
2.1.0

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