diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2011-07-26 00:07:32 +0200 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2011-07-26 00:07:32 +0200 |
commit | 13834c822bc5763d2df1683ed81add55cf919729 (patch) | |
tree | b12a05a958e6b9bfd1294659d697d9356dacc14e | |
parent | b87722e6ed97aaea7ded638ad585491081faaa8b (diff) | |
download | eurephia-13834c822bc5763d2df1683ed81add55cf919729.tar.gz eurephia-13834c822bc5763d2df1683ed81add55cf919729.tar.xz eurephia-13834c822bc5763d2df1683ed81add55cf919729.zip |
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 <dazo@users.sourceforge.net>
-rw-r--r-- | common/eurephia_log.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |