summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2006-02-01 08:52:02 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2006-02-01 08:52:02 +0000
commit5e87c086847f51c8e8d0a7efc4a5b4999707ad8d (patch)
tree2f11cdad745f3491ce5cc0a1ee85201d24cf72cb /syslogd.c
parent00c20108b37bc6d36964f048cd8b9bf0622bb7bf (diff)
downloadrsyslog-1-0-4.tar.gz
rsyslog-1-0-4.tar.xz
rsyslog-1-0-4.zip
remove 2 forgotten debug-printfs causing performance problems in the tcpv1-0-4
receiver
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/syslogd.c b/syslogd.c
index fbb896d5..df6abec9 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -896,7 +896,6 @@ void TCPSessDataRcvd(int iTCPSess, char *pData, int iLen)
pEnd = pData + iLen; /* this is one off, which is intensional */
while(pData < pEnd) {
-printf("## in loop\n");
if(iMsg >= MAXLINE) {
/* emergency, we now need to flush, no matter if
* we are at end of message or not...
@@ -914,7 +913,6 @@ printf("## in loop\n");
printline(TCPSessions[iTCPSess].fromHost, pMsg, SOURCE_INET);
iMsg = 0;
++pData;
-printf("## record delim found\n");
} else {
*(pMsg + iMsg++) = *pData++;
}