fix bug in MeterFilter

pull/2/head
weidai 2003-03-20 20:39:22 +00:00
parent 65abe91c8c
commit 067b425053
1 changed files with 15 additions and 11 deletions

View File

@ -132,6 +132,8 @@ bool Filter::OutputMessageSeriesEnd(int outputSite, int propagation, bool blocki
// *************************************************************
unsigned int MeterFilter::Put2(const byte *begin, unsigned int length, int messageEnd, bool blocking)
{
if (m_transparent)
{
FILTER_BEGIN;
m_currentMessageBytes += length;
@ -147,6 +149,8 @@ unsigned int MeterFilter::Put2(const byte *begin, unsigned int length, int messa
FILTER_OUTPUT(1, begin, length, messageEnd);
FILTER_END_NO_MESSAGE_END;
}
return 0;
}
bool MeterFilter::IsolatedMessageSeriesEnd(bool blocking)
{