summaryrefslogtreecommitdiffstats
path: root/tcps_sess.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 /tcps_sess.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 'tcps_sess.c')
-rw-r--r--tcps_sess.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tcps_sess.c b/tcps_sess.c
index 56b7d9a5..c8ee4d67 100644
--- a/tcps_sess.c
+++ b/tcps_sess.c
@@ -71,6 +71,7 @@ static rsRetVal
tcps_sessConstructFinalize(tcps_sess_t __attribute__((unused)) *pThis)
{
DEFiRet;
+RUNLOG_VAR("%p", pThis->objData.pszName);
ISOBJ_TYPE_assert(pThis, tcps_sess);
if(pThis->pSrv->OnSessConstructFinalize != NULL) {
CHKiRet(pThis->pSrv->OnSessConstructFinalize(&pThis->pUsr));
@@ -84,6 +85,7 @@ finalize_it:
/* destructor for the tcps_sess object */
BEGINobjDestruct(tcps_sess) /* be sure to specify the object type also in END and CODESTART macros! */
CODESTARTobjDestruct(tcps_sess)
+RUNLOG_VAR("%p", pThis->objData.pszName);
if(pThis->pSrv->pOnSessDestruct != NULL) {
pThis->pSrv->pOnSessDestruct(&pThis->pUsr);
}
@@ -107,6 +109,7 @@ SetHost(tcps_sess_t *pThis, uchar *pszHost)
DEFiRet;
ISOBJ_TYPE_assert(pThis, tcps_sess);
+RUNLOG_VAR("%p", pThis->objData.pszName);
if(pThis->fromHost != NULL) {
free(pThis->fromHost);
@@ -144,9 +147,11 @@ static rsRetVal
SetTcpsrv(tcps_sess_t *pThis, tcpsrv_t *pSrv)
{
DEFiRet;
+RUNLOG_VAR("%p", pThis->objData.pszName);
ISOBJ_TYPE_assert(pThis, tcps_sess);
ISOBJ_TYPE_assert(pSrv, tcpsrv);
pThis->pSrv = pSrv;
+RUNLOG_VAR("%p", pThis->objData.pszName);
RETiRet;
}