typo in logsyslog()

This commit is contained in:
z3APA3A 2016-01-03 19:57:51 +03:00
parent 0e9cc9e330
commit 889c5caa1f

View File

@ -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);
} }