summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/syslogd.c b/syslogd.c
index be87aad7..a8c077b1 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -895,6 +895,7 @@ 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...
@@ -912,6 +913,7 @@ void TCPSessDataRcvd(int iTCPSess, char *pData, int iLen)
printline(TCPSessions[iTCPSess].fromHost, pMsg, SOURCE_INET);
iMsg = 0;
++pData;
+printf("## record delim found\n");
} else {
*(pMsg + iMsg++) = *pData++;
}