diff options
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/anopesmtp.c | 2 |
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); |
