From 0d3deeec101b0d6568d7c04eda833bde47c7329c Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 14 Jul 2013 12:53:01 +0200 Subject: options: Use the new function to use the log level. --- src/options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/options.c b/src/options.c index 464e806a..8d926b4e 100644 --- a/src/options.c +++ b/src/options.c @@ -1042,7 +1042,7 @@ int ssh_options_getopt(ssh_session session, int *argcptr, char **argv) { cont = 0; } - ssh_options_set(session, SSH_OPTIONS_LOG_VERBOSITY, &debuglevel); + ssh_set_log_level(debuglevel); optind = saveoptind; @@ -1360,7 +1360,7 @@ int ssh_bind_options_set(ssh_bind sshbind, enum ssh_bind_options_e type, return -1; } else { int *x = (int *) value; - sshbind->common.log_verbosity = *x & 0xffff; + ssh_set_log_level(*x & 0xffff); } break; case SSH_BIND_OPTIONS_LOG_VERBOSITY_STR: -- cgit