summaryrefslogtreecommitdiffstats
path: root/tcpsrv.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-25 12:54:59 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-25 12:54:59 +0200
commit75cf92117c118f9aca37b39f44ad1e1e759f78bf (patch)
treed0017f4419daa9e0ae22117f44b78208a4b35307 /tcpsrv.c
parent21bea2e1df044771f713fa426bf6b005385c40da (diff)
downloadrsyslog-75cf92117c118f9aca37b39f44ad1e1e759f78bf.tar.gz
rsyslog-75cf92117c118f9aca37b39f44ad1e1e759f78bf.tar.xz
rsyslog-75cf92117c118f9aca37b39f44ad1e1e759f78bf.zip
made gtls server driver work in plain tcp mode
Diffstat (limited to 'tcpsrv.c')
-rw-r--r--tcpsrv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcpsrv.c b/tcpsrv.c
index 086d17b8..638d7019 100644
--- a/tcpsrv.c
+++ b/tcpsrv.c
@@ -242,7 +242,6 @@ addTcpLstn(void *pUsr, netstrm_t *pLstn)
if(pThis->iLstnMax >= TCPLSTN_MAX_DEFAULT)
ABORT_FINALIZE(RS_RET_MAX_LSTN_REACHED);
-RUNLOG_VAR("%d", pThis->iLstnMax);
pThis->ppLstn[pThis->iLstnMax] = pLstn;
++pThis->iLstnMax;
@@ -416,6 +415,7 @@ Run(tcpsrv_t *pThis)
/* Add the TCP listen sockets to the list of read descriptors. */
for(i = 0 ; i < pThis->iLstnMax ; ++i) {
+RUNLOG_VAR("%d", i);
CHKiRet(nssel.Add(pSel, pThis->ppLstn[i], NSDSEL_RD));
}