diff options
author | Julien Dessaux | 2019-03-11 15:02:37 +0100 |
---|---|---|
committer | Julien Dessaux | 2019-03-11 15:02:37 +0100 |
commit | f8e93ad60a6839da14deef99062ae3047e2c286d (patch) | |
tree | f3663f78755bf8a73b0e9f8cc56cbc47db207d80 | |
parent | Moved code around (diff) | |
download | bastion-f8e93ad60a6839da14deef99062ae3047e2c286d.tar.gz bastion-f8e93ad60a6839da14deef99062ae3047e2c286d.tar.bz2 bastion-f8e93ad60a6839da14deef99062ae3047e2c286d.zip |
Fixed funny typo
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | bastion/client.c | 2 | ||||
-rw-r--r-- | bastion/main.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d542ec0..8fe7708 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -ggdb -pg -fsanitize=address") set(CMAKE_C_FLAGS_RELEASE "-Os") set(CMAKE_C_FLAGS_RELWITHDEBINFO "-Os -g") -option(LIBSSH_VERBOSE_OUTPOUT "whether or not verbose output for libssh mode is activated" OFF) +option(LIBSSH_VERBOSE_OUTPUT "whether or not verbose output for libssh mode is activated" OFF) option(SESSION_RECORDING "whether or not recording feature based on lib termrec is activated" ON) add_subdirectory(bastion) diff --git a/bastion/client.c b/bastion/client.c index 11757fc..c1f5ff2 100644 --- a/bastion/client.c +++ b/bastion/client.c @@ -104,7 +104,7 @@ struct client_channel_data_struct* client_dial(ssh_event event, struct proxy_cha ssh_options_set(cdata->my_session, SSH_OPTIONS_HOST, info->address); ssh_options_set(cdata->my_session, SSH_OPTIONS_USER, info->username); -#ifdef LIBSSH_VERBOSE_OUTPOUT +#ifdef LIBSSH_VERBOSE_OUTPUT int verbosity = SSH_LOG_PROTOCOL; ssh_options_set(cdata->my_session, SSH_OPTIONS_LOG_VERBOSITY, &verbosity); #endif diff --git a/bastion/main.c b/bastion/main.c index 6ea6bcb..661a603 100644 --- a/bastion/main.c +++ b/bastion/main.c @@ -78,7 +78,7 @@ int main() fprintf(stderr, "Error initializing ssh_session\n"); break; } -#ifdef LIBSSH_VERBOSE_OUTPOUT +#ifdef LIBSSH_VERBOSE_OUTPUT int verbosity = SSH_LOG_PROTOCOL; ssh_options_set(session, SSH_OPTIONS_LOG_VERBOSITY, &verbosity); #endif |