From 1d793c34b036cd094369ae56f15f5731b03c5bee Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Thu, 21 Mar 2024 00:52:39 +0100 Subject: Add test --- any_log.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'any_log.h') diff --git a/any_log.h b/any_log.h index 433afa9..d9d575d 100644 --- a/any_log.h +++ b/any_log.h @@ -201,14 +201,14 @@ void any_log_exit(const char *module, const char *func) void any_log_format(any_log_level_t level, const char *module, const char *func, const char *format, ...) { - fprintf(stdout, ANY_LOG_FORMAT_BEFORE(level, module, func)); + fprintf(stdout, ANY_LOG_FORMAT_BEFORE(level, module, func)); va_list args; va_start(args, format); vfprintf(stdout, format, args); va_end(args); - fprintf(stdout, ANY_LOG_FORMAT_AFTER(level, module, func)); + fprintf(stdout, ANY_LOG_FORMAT_AFTER(level, module, func)); // NOTE: Suppress compiler warning if the user customizes the format string // and doesn't use these values in it -- cgit v1.2.3