mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-01 01:00:03 +01:00
4af65c01a9
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
20 lines
584 B
Diff
20 lines
584 B
Diff
commit 0f7db943bef0488644dce11c2ba2d19c180d8650
|
|
Author: Norman Rasmussen <norman@rasmussen.co.za>
|
|
Date: Sun Jan 10 21:43:44 2010 +0000
|
|
|
|
Initialize syslog so that we log with our PID as DAEMON.
|
|
|
|
diff --git a/common/aiccu.c b/common/aiccu.c
|
|
index 9abb334..75aadc8 100755
|
|
--- a/common/aiccu.c
|
|
+++ b/common/aiccu.c
|
|
@@ -58,6 +58,9 @@ bool aiccu_InitConfig()
|
|
int ret;
|
|
#define CAFILE "ca.pem"
|
|
#endif
|
|
+#ifndef _WIN32
|
|
+ openlog(NULL, LOG_PID, LOG_DAEMON);
|
|
+#endif
|
|
/* Allocate & Initialize */
|
|
g_aiccu = (struct AICCU_conf *)malloc(sizeof(*g_aiccu));
|
|
if (!g_aiccu) return false;
|