From 6176add700f0612675f5fdc2cfda226995738daa Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 21 Nov 2008 05:32:06 +0000 Subject: [PATCH] fix HashFilter bug when putMessage=true (UnFleshed One) --- filters.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filters.cpp b/filters.cpp index 9f4308ba..28b69293 100644 --- a/filters.cpp +++ b/filters.cpp @@ -715,9 +715,9 @@ void HashFilter::IsolatedInitialize(const NameValuePairs ¶meters) size_t HashFilter::Put2(const byte *inString, size_t length, int messageEnd, bool blocking) { FILTER_BEGIN; - m_hashModule.Update(inString, length); if (m_putMessage) FILTER_OUTPUT(1, inString, length, 0); + m_hashModule.Update(inString, length); if (messageEnd) { {