diff options
author | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-01-24 07:54:48 +0000 |
---|---|---|
committer | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-01-24 07:54:48 +0000 |
commit | 4a54fdec5e6becedc49a90f2bee7e391e3bfe64c (patch) | |
tree | 9c68cf3e766f81d51f2ba43d2444df9ef6d7b2e0 /src/log.c | |
parent | 0dc104f20dcfa3dbdf301949a4c01d2f38c02687 (diff) |
git-svn-id: svn://svn.anope.org/anope/trunk@957 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@684 5417fbe8-f217-4b02-8779-1006273d7864
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); |