summaryrefslogtreecommitdiff
path: root/lib/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/event.c')
-rw-r--r--lib/event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/event.c b/lib/event.c
index 5031f314..766ffa15 100644
--- a/lib/event.c
+++ b/lib/event.c
@@ -182,6 +182,7 @@ ev_run_list(event_list *l)
WALK_LIST_FIRST(n, tmp_list)
{
event *e = SKIP_BACK(event, n, n);
+ ASSERT_DIE(n->next->prev == n);
if (legacy)
{