MCPcopy Create free account
hub / github.com/3proxy/3proxy / logsyslog

Function logsyslog

src/common.c:641–647  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

639}
640#ifndef _WIN32
641void logsyslog(struct clientparam * param, const unsigned char *s) {
642
643 pthread_mutex_lock(&log_mutex);
644 dobuf(param, tmpbuf, s, NULL);
645 if(!param->nolog)syslog(LOG_INFO, "%s", tmpbuf);
646 pthread_mutex_unlock(&log_mutex);
647}
648#endif
649
650int doconnect(struct clientparam * param){

Callers

nothing calls this directly

Calls 1

dobufFunction · 0.85

Tested by

no test coverage detected