summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2005-08-09 09:27:42 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2005-08-09 09:27:42 +0000
commit25a1b5bb9e8b8077829fa322eb2013b47e80f5e8 (patch)
treeab92b7a672ae6d6dd84f9cb697bbd87c45fc4646 /syslogd.c
parent9e12167740b6ce46487c7bb5c5554b5c807d2431 (diff)
downloadrsyslog-25a1b5bb9e8b8077829fa322eb2013b47e80f5e8.tar.gz
rsyslog-25a1b5bb9e8b8077829fa322eb2013b47e80f5e8.tar.xz
rsyslog-25a1b5bb9e8b8077829fa322eb2013b47e80f5e8.zip
restructured makefile, because debian make has different syntax...
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++;
}