From 3a97d196f9744a75a715cf3bc8bd0d36683e4ece Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 7 Sep 2010 18:39:57 -0400 Subject: Fixed make strict build and cleaned up some warnings --- src/tools/anopesmtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools') diff --git a/src/tools/anopesmtp.c b/src/tools/anopesmtp.c index b54da9210..b091612c7 100644 --- a/src/tools/anopesmtp.c +++ b/src/tools/anopesmtp.c @@ -152,7 +152,7 @@ void alog(const char *fmt, ...) time(&t); tm = *localtime(&t); strftime(buf, sizeof(buf) - 1, "[%b %d %H:%M:%S %Y] ", &tm); - if (logfile && args) { + if (logfile) { fputs(buf, logfile); vfprintf(logfile, fmt, args); fputc('\n', logfile); -- cgit