summaryrefslogtreecommitdiff
path: root/src/filters.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/filters.h')
-rw-r--r--src/filters.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/filters.h b/src/filters.h
index af68cd7c..1ef92bbe 100644
--- a/src/filters.h
+++ b/src/filters.h
@@ -156,7 +156,7 @@ public:
: item_handler<post_t>(handler) {
TRACE_CTOR(pass_down_posts, "post_handler_ptr, posts_iterator");
- while (post_t * post = *iter++) {
+ while (post_t * post = *iter) {
try {
item_handler<post_t>::operator()(*post);
}
@@ -164,6 +164,7 @@ public:
add_error_context(item_context(*post, _("While handling posting")));
throw;
}
+ iter.increment();
}
item_handler<post_t>::flush();