diff options
Diffstat (limited to 'src/log.c')
-rw-r--r-- | src/log.c | 14 |
1 files changed, 5 insertions, 9 deletions
@@ -143,12 +143,10 @@ void alog(const char *fmt, ...) * crash. :( * * --nenolod - * Not all systems have va_copy() so macro VA_COPY on so it will work - * like the function does see extern.h for how -- TSL */ - VA_COPY(logargs, args); - VA_COPY(consoleargs, args); - VA_COPY(logchanargs, args); + va_copy(logargs, args); + va_copy(consoleargs, args); + va_copy(logchanargs, args); time(&t); tm = *localtime(&t); @@ -221,11 +219,9 @@ void log_perror(const char *fmt, ...) * crash. :( * * --nenolod - * Not all systems have va_copy() so macro VA_COPY on so it will work - * like the function does see extern.h for how -- TSL */ - VA_COPY(logargs, args); - VA_COPY(consoleargs, args); + va_copy(logargs, args); + va_copy(consoleargs, args); time(&t); tm = *localtime(&t); |