diff options
author | Steffen Jaeckel <jaeckel-floss@eyet-services.de> | 2022-11-14 15:51:05 +0100 |
---|---|---|
committer | Steffen Jaeckel <jaeckel-floss@eyet-services.de> | 2023-01-18 20:02:46 +0100 |
commit | e9aaba938b4f1b62b5f9018583a82ed7e7180977 (patch) | |
tree | 96d4739208dda34d171960d389702fca817803cc /tests | |
parent | b1b6c6f62d69fb366fb347cb7e78a7791107f456 (diff) | |
download | profani-tty-e9aaba938b4f1b62b5f9018583a82ed7e7180977.tar.gz |
minor changes
* fix typo * less code duplication * less `GString` usage * more `auto_gchar` usage * document connecting to servers supporting SASL ANONYMOUS * ignore valgrind output Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unittests/log/stub_log.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unittests/log/stub_log.c b/tests/unittests/log/stub_log.c index dfa2619a..18d05eca 100644 --- a/tests/unittests/log/stub_log.c +++ b/tests/unittests/log/stub_log.c @@ -67,10 +67,10 @@ get_log_file_location(void) return mock_ptr_type(char*); } -log_level_t -log_level_from_string(char* log_level) +int +log_level_from_string(char* log_level, log_level_t* level) { - return mock_type(log_level_t); + return mock_type(int); } void |