aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-02-14 04:31:46 +0000
committerlloyd <[email protected]>2010-02-14 04:31:46 +0000
commit12e07d37e9622cfb24b2102090550a0260c6665c (patch)
tree89f913c714295dadd2ed2d479588b35da40ecc76
parentba2bd8705698411cbdff71d1a7e5285251129b13 (diff)
Reset buffer position in end_msg
-rw-r--r--src/filters/buf_filt.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/filters/buf_filt.cpp b/src/filters/buf_filt.cpp
index 9b4f4af88..897fd9be7 100644
--- a/src/filters/buf_filt.cpp
+++ b/src/filters/buf_filt.cpp
@@ -96,6 +96,8 @@ void Buffered_Filter::end_msg()
{
buffered_final(&buffer[0], buffer_pos);
}
+
+ buffer_pos = 0;
}
}