diff options
Diffstat (limited to 'src/server/EventSource.cpp')
-rw-r--r-- | src/server/EventSource.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/EventSource.cpp b/src/server/EventSource.cpp index abbd33dd..a8eb3ec4 100644 --- a/src/server/EventSource.cpp +++ b/src/server/EventSource.cpp @@ -98,6 +98,7 @@ EventSource::process(PostProcessor& dest, ProcessContext& context, bool limit) if (num_events_processed > 0) { Event* next = (Event*)last->next(); last->next(NULL); + assert(!last->next()); dest.append(_head.get(), last); _head = next; if (!next) |