summaryrefslogtreecommitdiffstats
path: root/obj.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-03-07 17:36:57 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-03-07 17:36:57 +0000
commitdbfc0329131107c3e1b11612d96ca66bdf861e3b (patch)
treefdd30976c80dc40b5be679aa8301d898aeaef09d /obj.c
parent4db62823e7a8e41e829c08a461f5e6b2193a6d62 (diff)
downloadrsyslog-dbfc0329131107c3e1b11612d96ca66bdf861e3b.tar.gz
rsyslog-dbfc0329131107c3e1b11612d96ca66bdf861e3b.tar.xz
rsyslog-dbfc0329131107c3e1b11612d96ca66bdf861e3b.zip
some cleanup
Diffstat (limited to 'obj.c')
-rw-r--r--obj.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/obj.c b/obj.c
index 910afe89..b7ae5332 100644
--- a/obj.c
+++ b/obj.c
@@ -1038,7 +1038,6 @@ RegisterObj(uchar *pszObjName, objInfo_t *pInfo)
finalize_it:
if(iRet != RS_RET_OK) {
-RUNLOG_VAR("%p", errmsg.LogError);
errmsg.LogError(NO_ERRCODE, "registering object '%s' failed with error code %d", pszObjName, iRet);
}
@@ -1175,16 +1174,13 @@ objClassInit(void)
CHKiRet(objGetObjInterface(&obj)); /* get ourselves ;) */
/* init classes we use (limit to as few as possible!) */
-RUNLOG_VAR("%p", errmsg.LogError);
CHKiRet(errmsgClassInit());
CHKiRet(cfsyslineInit());
CHKiRet(varClassInit());
CHKiRet(moduleClassInit());
CHKiRet(objUse(var, CORE_COMPONENT));
CHKiRet(objUse(module, CORE_COMPONENT));
-RUNLOG_VAR("%p", errmsg.LogError);
CHKiRet(objUse(errmsg, CORE_COMPONENT));
-RUNLOG_VAR("%p", errmsg.LogError);
finalize_it:
RETiRet;