diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-03 12:40:04 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-03 12:40:04 +0000 |
commit | cb71628f67e12081db2449eff83667e2a832f495 (patch) | |
tree | 77ff69744751c5fe9b3f99ad04010fb3d5f98cd0 /obj.c | |
parent | 42730360196f1aaafaebb955c1a0a66a185e61ec (diff) | |
download | rsyslog-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.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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; } |