[Spice-devel] [PATCH spice-gtk 05/11] Warn with the connect connect socket error
Hans de Goede
hdegoede at redhat.com
Thu Dec 8 06:54:26 PST 2011
ACK.
On 12/08/2011 03:12 PM, Marc-André Lureau wrote:
> ---
> gtk/spice-session.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/gtk/spice-session.c b/gtk/spice-session.c
> index 4405fd2..2b10635 100644
> --- a/gtk/spice-session.c
> +++ b/gtk/spice-session.c
> @@ -1317,6 +1317,8 @@ GSocket* spice_session_channel_open_host(SpiceSession *session, gboolean use_tls
> SPICE_DEBUG("Trying one socket");
> g_clear_error(&conn_error);
> sock = channel_connect_socket(sockaddr,&conn_error);
> + if (conn_error != NULL)
> + g_warning(conn_error->message);
> g_object_unref(sockaddr);
> }
> g_object_unref(enumerator);
More information about the Spice-devel
mailing list