summaryrefslogtreecommitdiffstats
path: root/obj.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-03-03 12:40:04 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-03-03 12:40:04 +0000
commitcb71628f67e12081db2449eff83667e2a832f495 (patch)
tree77ff69744751c5fe9b3f99ad04010fb3d5f98cd0 /obj.c
parent42730360196f1aaafaebb955c1a0a66a185e61ec (diff)
downloadrsyslog-cb71628f67e12081db2449eff83667e2a832f495.tar.gz
rsyslog-cb71628f67e12081db2449eff83667e2a832f495.tar.xz
rsyslog-cb71628f67e12081db2449eff83667e2a832f495.zip
fixed newly introduced bugs in imgssapi and imtcp and their helpers now
plain tcp works again
Diffstat (limited to 'obj.c')
-rw-r--r--obj.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/obj.c b/obj.c
index 44c59928..0dc92b1d 100644
--- a/obj.c
+++ b/obj.c
@@ -176,8 +176,11 @@ DestructObjSelf(obj_t *pThis)
DEFiRet;
ISOBJ_assert(pThis);
- if(pThis->pszName != NULL)
+ if(pThis->pszName != NULL) {
+RUNLOG_VAR("%p", pThis->pszName);
free(pThis->pszName);
+RUNLOG;
+ }
RETiRet;
}
@@ -917,8 +920,10 @@ SetName(obj_t *pThis, uchar *pszName)
if(pThis->pszName == NULL)
ABORT_FINALIZE(RS_RET_OUT_OF_MEMORY);
+RUNLOG_VAR("%s", pThis->pszName);
finalize_it:
+RUNLOG_VAR("%d", iRet);
RETiRet;
}
@@ -949,6 +954,7 @@ GetName(obj_t *pThis)
} else {
ret = pThis->pszName;
}
+RUNLOG_VAR("%s", pThis->pszName);
} else {
ret = pThis->pszName;
}