[hotssh] gssh: Convert leftover g_printerr -> g_debug, and disable libssh spew
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hotssh] gssh: Convert leftover g_printerr -> g_debug, and disable libssh spew
- Date: Mon, 18 Nov 2013 01:11:42 +0000 (UTC)
commit 070ddc220e0d18bbba746cab4eecf1f8863a1593
Author: Colin Walters <walters verbum org>
Date: Sun Nov 17 20:09:31 2013 -0500
gssh: Convert leftover g_printerr -> g_debug, and disable libssh spew
Let's only turn on libssh spew when necessary.
libgssh/gssh-connection.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgssh/gssh-connection.c b/libgssh/gssh-connection.c
index 2164c1a..518872c 100644
--- a/libgssh/gssh-connection.c
+++ b/libgssh/gssh-connection.c
@@ -186,8 +186,8 @@ recalculate_socket_state (GSshConnection *self)
g_source_destroy (self->socket_source);
g_source_unref (self->socket_source);
}
- g_printerr ("socket will select on inbound: %d outbound: %d\n",
- self->select_inbound, self->select_outbound);
+ g_debug ("socket will select on inbound: %d outbound: %d",
+ self->select_inbound, self->select_outbound);
self->socket_source = g_socket_create_source (self->socket,
conditions,
self->cancellable);
@@ -694,7 +694,7 @@ on_socket_client_connected (GObject *src,
self->socket = g_socket_connection_get_socket (self->socketconn);
self->session = ssh_new ();
- ssh_set_log_level (SSH_LOG_FUNCTIONS);
+ /* ssh_set_log_level (SSH_LOG_FUNCTIONS); */
if (!self->session)
{
g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_FAILED,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]