From e9aaba938b4f1b62b5f9018583a82ed7e7180977 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Mon, 14 Nov 2022 15:51:05 +0100 Subject: 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 --- src/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/log.h') diff --git a/src/log.h b/src/log.h index 2a955c90..3bf092b3 100644 --- a/src/log.h +++ b/src/log.h @@ -55,7 +55,7 @@ void log_info(const char* const msg, ...); void log_warning(const char* const msg, ...); void log_error(const char* const msg, ...); void log_msg(log_level_t level, const char* const area, const char* const msg); -log_level_t log_level_from_string(char* log_level); +int log_level_from_string(char* log_level, log_level_t* level); const char* log_string_from_level(log_level_t level); void log_stderr_init(log_level_t level); -- cgit 1.4.1-2-gfad0