From 13834c822bc5763d2df1683ed81add55cf919729 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Tue, 26 Jul 2011 00:07:32 +0200 Subject: common: Fixed an error in the veurephia_log() macro The argument list didn't match what the internal _veurephia_log_func() function expected. This error was introduced in commit ebf4e80250b525e17 Signed-off-by: David Sommerseth --- common/eurephia_log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/eurephia_log.h b/common/eurephia_log.h index 84da754..594a9be 100644 --- a/common/eurephia_log.h +++ b/common/eurephia_log.h @@ -86,7 +86,7 @@ void eurephia_log_close(eurephiaCTX *ctx); * @param lvl Verbosity level of the message * @param log_string The message to be logged */ -#define veurephia_log(ctx, dst, lvl, va_ap, fmt) _veurephia_log_func(ctx, dst, lvl, __FILE__, __LINE__, ## log_string) +#define veurephia_log(ctx, dst, lvl, va_ap, fmt) _veurephia_log_func(ctx, dst, lvl, __FILE__, __LINE__, va_ap, fmt) void _veurephia_log_func(eurephiaCTX *ctx, int logdst, int loglvl, const char *file, int line, va_list ap, const char *fmt); -- cgit