From e67d834156a381fe7ef7933d135130083b86d1e3 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Wed, 1 Sep 2010 16:05:06 +0200 Subject: Fix initialization of threading --- tests/unittests/torture_knownhosts.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/unittests/torture_knownhosts.c b/tests/unittests/torture_knownhosts.c index 3fd93abc..4d59e402 100644 --- a/tests/unittests/torture_knownhosts.c +++ b/tests/unittests/torture_knownhosts.c @@ -44,6 +44,7 @@ START_TEST (torture_knownhosts_port) int rc; char buffer[200]; FILE *file; + //int verbosity=SSH_LOG_FUNCTIONS; /* Connect to localhost:22, force the port to 1234 and then write * the known hosts file. Then check that the entry written is * [localhost]:1234 @@ -68,6 +69,7 @@ START_TEST (torture_knownhosts_port) session=ssh_new(); ssh_options_set(session,SSH_OPTIONS_HOST,"localhost"); ssh_options_set(session,SSH_OPTIONS_KNOWNHOSTS,KNOWNHOSTFILES); + //ssh_options_set(session,SSH_OPTIONS_LOG_VERBOSITY, &verbosity); rc=ssh_connect(session); ck_assert_msg(rc==SSH_OK,ssh_get_error(session)); session->port=1234; -- cgit v1.2.3