Minor logging changes

This commit is contained in:
z3APA3A committed 2018-04-21 01:24:18 +03:00
1 parent 098b6194df
commit d1b527b523
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -632,8 +632,8 @@ void logstdout(struct clientparam * param, const unsigned char *s) {
FILE *log;
pthread_mutex_lock(&log_mutex);
log = param->srv->stdlog?param->srv->stdlog:conf.stdlog?conf.stdlog:stdout;
dobuf(param, tmpbuf, s, NULL);
log = param->srv->stdlog?param->srv->stdlog:conf.stdlog?conf.stdlog:stdout;
if(!param->nolog)if(fprintf(log, "%s\n", tmpbuf) < 0) {
perror("printf()");
};