summaryrefslogtreecommitdiffstats
path: root/tcps_sess.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-03-22 15:53:45 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-03-22 15:53:45 +0100
commitea892d6cf041bd253d543570c1aac0ed171d2207 (patch)
treee0862d346bcc0175619d789f84e104648b6557fd /tcps_sess.c
parent148910c285161097b44cd5df165c3bd19e21ae33 (diff)
downloadrsyslog-ea892d6cf041bd253d543570c1aac0ed171d2207.zip
rsyslog-ea892d6cf041bd253d543570c1aac0ed171d2207.tar.gz
rsyslog-ea892d6cf041bd253d543570c1aac0ed171d2207.tar.xz
cleanup: removed no longer needed variable
Most importantly, this keeps the thread debugger output clean.
Diffstat (limited to 'tcps_sess.c')
-rw-r--r--tcps_sess.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tcps_sess.c b/tcps_sess.c
index 8d30738..dec14b5 100644
--- a/tcps_sess.c
+++ b/tcps_sess.c
@@ -59,8 +59,6 @@ DEFobjCurrIf(datetime)
static int iMaxLine; /* maximum size of a single message */
-static int iNbrTimeUsed = 0; /* how often has previous time been used so far? */
-
/* forward definitions */
static rsRetVal Close(tcps_sess_t *pThis);
@@ -475,7 +473,6 @@ DataRcvd(tcps_sess_t *pThis, char *pData, size_t iLen)
/* We now copy the message to the session buffer. */
pEnd = pData + iLen; /* this is one off, which is intensional */
- iNbrTimeUsed = 0; /* full time query */
while(pData < pEnd) {
CHKiRet(processDataRcvd(pThis, *pData++, &stTime, ttGenTime, &multiSub));
}