[Spice-devel] [spice-gtk] session: Tone down warning on TLS-only connections
Marc-André Lureau
mlureau at redhat.com
Thu Mar 12 04:52:04 PDT 2015
ack
----- Original Message -----
> 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 at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>
More information about the Spice-devel
mailing list