mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Minor logging changes
This commit is contained in:
1 parent
098b6194df
commit
d1b527b523
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -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()");
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user