1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-29 01:03:57 +03:00

options: Set log level through options too.

This commit is contained in:
Andreas Schneider
2013-07-21 11:26:32 +02:00
parent 7ed5512145
commit f3e09612b3

View File

@@ -635,6 +635,7 @@ int ssh_options_set(ssh_session session, enum ssh_options_e type,
} }
session->common.log_verbosity = *x & 0xffff; session->common.log_verbosity = *x & 0xffff;
ssh_set_log_level(*x & 0xffff);
} }
break; break;
case SSH_OPTIONS_LOG_VERBOSITY_STR: case SSH_OPTIONS_LOG_VERBOSITY_STR: