summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-07-09 17:21:01 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-07-09 17:21:01 +0200
commit4130ca8670b37d0fe92a1abb47a2840c62604ded (patch)
treee6370bf013f0026d3b3ad726b37776753902c662 /tools
parent9f286c0c4c21128c66305166ae379d3f7b07f673 (diff)
parent6fde78cb744b22eb5790d43297acab249ca0e7fa (diff)
downloadrsyslog-4130ca8670b37d0fe92a1abb47a2840c62604ded.tar.gz
rsyslog-4130ca8670b37d0fe92a1abb47a2840c62604ded.tar.xz
rsyslog-4130ca8670b37d0fe92a1abb47a2840c62604ded.zip
Merge branch 'v4-devel'
Diffstat (limited to 'tools')
-rw-r--r--tools/omfwd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/omfwd.c b/tools/omfwd.c
index 2966a5e4..e41e5b66 100644
--- a/tools/omfwd.c
+++ b/tools/omfwd.c
@@ -206,8 +206,6 @@ static rsRetVal UDPSend(instanceData *pData, char *msg, size_t len)
unsigned lsent = 0;
int bSendSuccess;
-dbgprintf("rebind logic: interval %d, curr %d, mod %d, if %d\n", pData->iUDPRebindInterval, pData->nXmit,
- (pData->nXmit % pData->iUDPRebindInterval), ((pData->nXmit % pData->iUDPRebindInterval) == 0));
if(pData->iUDPRebindInterval && (pData->nXmit++ % pData->iUDPRebindInterval == 0)) {
dbgprintf("omfwd dropping UDP 'connection' (as configured)\n");
pData->nXmit = 1; /* else we have an addtl wrap at 2^31-1 */