aboutsummaryrefslogtreecommitdiff
path: root/src/client.c
diff options
context:
space:
mode:
authorGangadhar Sandrani <gangadhar.sandrani@gmail.com>2014-04-22 09:35:33 +0200
committerAndreas Schneider <asn@cryptomilk.org>2014-04-22 09:35:33 +0200
commitd6e6a453fc2b362174e9e0a8669574283b515245 (patch)
tree81dd0ad1d15f9b6b31b4f6883ba315afc71b4ee4 /src/client.c
parenteb86fd8cdfd69f46c60bf0885a2125285e4a22b3 (diff)
downloadlibssh-d6e6a453fc2b362174e9e0a8669574283b515245.tar.gz
libssh-d6e6a453fc2b362174e9e0a8669574283b515245.tar.xz
libssh-d6e6a453fc2b362174e9e0a8669574283b515245.zip
log: Fix log levels.
Signed-off-by: Gangadhar Sandrani <gangadhar.sandrani@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/client.c')
-rw-r--r--src/client.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/client.c b/src/client.c
index af525c1e..c0a9d871 100644
--- a/src/client.c
+++ b/src/client.c
@@ -506,7 +506,12 @@ int ssh_connect(ssh_session session) {
ssh_set_error(session, SSH_FATAL, "Couldn't apply options");
return SSH_ERROR;
}
- SSH_LOG(SSH_LOG_RARE,"libssh %s, using threading %s", ssh_copyright(), ssh_threads_get_type());
+
+ SSH_LOG(SSH_LOG_PROTOCOL,
+ "libssh %s, using threading %s",
+ ssh_copyright(),
+ ssh_threads_get_type());
+
session->ssh_connection_callback = ssh_client_connection_callback;
session->session_state=SSH_SESSION_STATE_CONNECTING;
ssh_socket_set_callbacks(session->socket,&session->socket_callbacks);