aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-11-30 23:56:21 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2009-11-30 23:56:21 +0100
commit96afa4530c98447d1d8a8971da8cc84168983e81 (patch)
tree6d37d9fe37e97954ea496611aa9ace29085a72ba /tests
parent270a8a26fa8654d2b10925f48bde8a36d5e3605e (diff)
downloadlibssh-96afa4530c98447d1d8a8971da8cc84168983e81.tar.gz
libssh-96afa4530c98447d1d8a8971da8cc84168983e81.tar.xz
libssh-96afa4530c98447d1d8a8971da8cc84168983e81.zip
More logging
Diffstat (limited to 'tests')
-rw-r--r--tests/test_socket.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_socket.c b/tests/test_socket.c
index 2c53d976..8e11d266 100644
--- a/tests/test_socket.c
+++ b/tests/test_socket.c
@@ -60,11 +60,13 @@ int main(int argc, char **argv){
struct socket *s;
ssh_session session;
ssh_poll_ctx ctx;
+ int verbosity=SSH_LOG_FUNCTIONS;
if(argc < 3){
printf("Usage : %s host port\n", argv[0]);
return EXIT_FAILURE;
}
session=ssh_new();
+ ssh_options_set(session,SSH_OPTIONS_LOG_VERBOSITY,&verbosity);
ssh_init();
s=ssh_socket_new(session);
ctx=ssh_poll_ctx_new(2);