summaryrefslogtreecommitdiff
path: root/tcps_sess.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2010-04-07 12:11:52 +0200
committerMichael Biebl <biebl@debian.org>2010-04-07 12:11:52 +0200
commit0c3924200ff23e6444058f01b2b7446cde6e1581 (patch)
tree08967d6f21a0f578d03a92a802343a1313450534 /tcps_sess.c
parent4af6f89dda61bb5acd862b805302542d9c0da005 (diff)
downloadrsyslog-0c3924200ff23e6444058f01b2b7446cde6e1581.tar.gz
Imported Upstream version 4.6.2upstream/4.6.2
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));
}