summaryrefslogtreecommitdiff
path: root/src/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/log.c b/src/log.c
index 46f7529ab..1d2048a10 100644
--- a/src/log.c
+++ b/src/log.c
@@ -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);