summaryrefslogtreecommitdiffstats
path: root/runtime/nsdsel_ptcp.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 /runtime/nsdsel_ptcp.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 'runtime/nsdsel_ptcp.c')
-rw-r--r--runtime/nsdsel_ptcp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/nsdsel_ptcp.c b/runtime/nsdsel_ptcp.c
index b439063a..22c000b9 100644
--- a/runtime/nsdsel_ptcp.c
+++ b/runtime/nsdsel_ptcp.c
@@ -71,6 +71,8 @@ Add(nsdsel_t *pNsdsel, nsd_t *pNsd, nsdsel_waitOp_t waitOp)
ISOBJ_TYPE_assert(pSock, nsd_ptcp);
ISOBJ_TYPE_assert(pThis, nsdsel_ptcp);
+RUNLOG_VAR("%d", pSock->sock);
+RUNLOG_VAR("%p", &pThis->readfds);
switch(waitOp) {
case NSDSEL_RD:
FD_SET(pSock->sock, &pThis->readfds);