summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/syslogd.c b/syslogd.c
index 506f90a8..2f7ba0f2 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -178,6 +178,7 @@
#include "sysvar.h"
/* definitions for objects we access */
+DEFobjCurrIf(obj)
DEFobjCurrIf(expr)
DEFobjCurrIf(vm)
@@ -2900,7 +2901,7 @@ init(void)
exit(1);
}
/* name our main queue object (it's not fatal if it fails...) */
- objSetName((obj_t*) pMsgQueue, (uchar*) "main queue");
+ obj.SetName((obj_t*) pMsgQueue, (uchar*) "main queue");
/* ... set some properties ... */
# define setQPROP(func, directive, data) \
@@ -3577,6 +3578,7 @@ static rsRetVal InitGlobalClasses(void)
CHKiRet(objClassInit()); /* *THIS* *MUST* always be the first class initilizer being called! */
/* dummy "classes" */
CHKiRet(confClassInit());
+ CHKiRet(actionClassInit());
/* real ones */
CHKiRet(msgClassInit());
@@ -3595,6 +3597,7 @@ static rsRetVal InitGlobalClasses(void)
CHKiRet(exprClassInit());
/* request objects we use */
+ CHKiRet(objGetObjInterface(&obj)); /* this provides the root pointer for all other queries */
CHKiRet(objUse(expr));
CHKiRet(objUse(vm));