diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2006-02-01 08:52:02 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2006-02-01 08:52:02 +0000 |
commit | 5e87c086847f51c8e8d0a7efc4a5b4999707ad8d (patch) | |
tree | 2f11cdad745f3491ce5cc0a1ee85201d24cf72cb /syslogd.c | |
parent | 00c20108b37bc6d36964f048cd8b9bf0622bb7bf (diff) | |
download | rsyslog-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.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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++; } |