diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-23 16:31:35 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-23 16:31:35 +0200 |
commit | 50fe2ec2ea275b7ed38c7942736fbb2aae727056 (patch) | |
tree | 85a43771dbe9dca798a69c941fb83c8396f4fc1f /runtime/netstrm.c | |
parent | 1892fc75f9fad0b0741b4a3eb1fc382f900b2301 (diff) | |
download | rsyslog-50fe2ec2ea275b7ed38c7942736fbb2aae727056.tar.gz rsyslog-50fe2ec2ea275b7ed38c7942736fbb2aae727056.tar.xz rsyslog-50fe2ec2ea275b7ed38c7942736fbb2aae727056.zip |
removed listener array from inidividual netstrm (mostly finished)
Diffstat (limited to 'runtime/netstrm.c')
-rw-r--r-- | runtime/netstrm.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/runtime/netstrm.c b/runtime/netstrm.c index f0bdab78..c8335fa4 100644 --- a/runtime/netstrm.c +++ b/runtime/netstrm.c @@ -140,11 +140,16 @@ finalize_it: * rgerhards, 2008-04-22 */ static rsRetVal -LstnInit(void *pUsr, rsRetVal(*fAddLstn)(void*,netstrm_t*), uchar *pLstnPort, uchar *pLstnIP, int iSessMax) +LstnInit(netstrms_t *pNS, void *pUsr, rsRetVal(*fAddLstn)(void*,netstrm_t*), + uchar *pLstnPort, uchar *pLstnIP, int iSessMax) { DEFiRet; + + ISOBJ_TYPE_assert(pNS, netstrms); + assert(fAddLstn != NULL); assert(pLstnPort != NULL); - //CHKiRet(pThis->Drvr.LstnInit(pUsr, fAddLstn, pLstnPort, pLstnIP, iSessMax)); + + CHKiRet(pNS->Drvr.LstnInit(pNS, pUsr, fAddLstn, pLstnPort, pLstnIP, iSessMax)); finalize_it: RETiRet; |