summaryrefslogtreecommitdiffstats
path: root/tools/omfwd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-07-09 12:34:48 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-07-09 12:34:48 +0200
commit92020c6ea15215af1ea361c8fe010b604653b8f7 (patch)
tree057760c741f3a279057c83be8a97711d017450c5 /tools/omfwd.c
parent9e9322585d632b20d714cdbf37e86be624b60642 (diff)
downloadrsyslog-92020c6ea15215af1ea361c8fe010b604653b8f7.tar.gz
rsyslog-92020c6ea15215af1ea361c8fe010b604653b8f7.tar.xz
rsyslog-92020c6ea15215af1ea361c8fe010b604653b8f7.zip
bugfix: omfwd segfault when debugging is turned on
Diffstat (limited to 'tools/omfwd.c')
-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 */