Log to syslog when running in daemon mode.

This commit is contained in:
Zhang Yi
2013-12-11 23:59:05 +08:00
parent 16516b3767
commit c6b3b99fe0
5 changed files with 38 additions and 10 deletions
+4
View File
@@ -14,6 +14,10 @@
#define INT_DIGITS 19 /* enough for 64 bit integer */
#ifdef HAS_SYSLOG
int use_syslog = 0;
#endif
#ifndef __MINGW32__
void ERROR(const char *s)
{