mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 18:45:40 +08:00
typo in logsyslog()
This commit is contained in:
parent
0e9cc9e330
commit
889c5caa1f
@ -629,7 +629,7 @@ void logsyslog(struct clientparam * param, const unsigned char *s) {
|
|||||||
logmutexinit = 1;
|
logmutexinit = 1;
|
||||||
}
|
}
|
||||||
pthread_mutex_lock(&log_mutex);
|
pthread_mutex_lock(&log_mutex);
|
||||||
dobuf(param, tmpbuf, s, NULL)
|
dobuf(param, tmpbuf, s, NULL);
|
||||||
if(!param->nolog)syslog(LOG_INFO, "%s", tmpbuf);
|
if(!param->nolog)syslog(LOG_INFO, "%s", tmpbuf);
|
||||||
pthread_mutex_unlock(&log_mutex);
|
pthread_mutex_unlock(&log_mutex);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user