summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-09-07 18:39:57 -0400
committerAdam <Adam@anope.org>2010-09-07 18:39:57 -0400
commit3a97d196f9744a75a715cf3bc8bd0d36683e4ece (patch)
tree2774f41c34fdd2e5ce5a84262de2b42f665e5382 /src/tools
parent7dfc8e8ee8f5355429763eac70fe694bf947eca3 (diff)
Fixed make strict build and cleaned up some warnings
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/anopesmtp.c2
1 files changed, 1 insertions, 1 deletions
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);