summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-24 11:03:34 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-24 11:03:34 +0200
commita7040a9623e228043209da897dbf30b9ab02d771 (patch)
treeb28c2bda58b568dd7ff1e65ff92738f7d5dfb7a4 /runtime
parent0e19d501bbf4d96bc622436a161b57ff7445a657 (diff)
downloadrsyslog-a7040a9623e228043209da897dbf30b9ab02d771.tar.gz
rsyslog-a7040a9623e228043209da897dbf30b9ab02d771.tar.xz
rsyslog-a7040a9623e228043209da897dbf30b9ab02d771.zip
some cleanup
Diffstat (limited to 'runtime')
-rw-r--r--runtime/netstrm.c1
-rw-r--r--runtime/nsd_ptcp.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/runtime/netstrm.c b/runtime/netstrm.c
index 670899ef..be754aae 100644
--- a/runtime/netstrm.c
+++ b/runtime/netstrm.c
@@ -117,7 +117,6 @@ AcceptConnReq(netstrm_t *pThis, netstrm_t **ppNew)
assert(ppNew != NULL);
/* accept the new connection */
-RUNLOG_VAR("%p", pThis->pDrvrData);
CHKiRet(pThis->Drvr.AcceptConnReq(pThis->pDrvrData, &pNewNsd));
/* construct our object so that we can use it... */
CHKiRet(netstrms.CreateStrm(pThis->pNS, ppNew));
diff --git a/runtime/nsd_ptcp.c b/runtime/nsd_ptcp.c
index 8ab2ccf7..c5cba12b 100644
--- a/runtime/nsd_ptcp.c
+++ b/runtime/nsd_ptcp.c
@@ -292,7 +292,6 @@ LstnInit(netstrms_t *pNS, void *pUsr, rsRetVal(*fAddLstn)(void*,netstrm_t*),
numSocks = 0; /* num of sockets counter at start of array */
for(r = res; r != NULL ; r = r->ai_next) {
sock = socket(r->ai_family, r->ai_socktype, r->ai_protocol);
-RUNLOG_VAR("%d", sock);
if(sock < 0) {
if(!(r->ai_family == PF_INET6 && errno == EAFNOSUPPORT))
dbgprintf("error %d creating tcp listen socket", errno);