Revision b933281e lib/event.c

View differences:

lib/event.c
125 125
int
126 126
ev_run_list(event_list *l)
127 127
{
128
  node *n, *p;
128
  node *n;
129 129
  list tmp_list;
130 130

  
131 131
  init_list(&tmp_list);
132 132
  add_tail_list(&tmp_list, l);
133 133
  init_list(l);
134
  WALK_LIST_DELSAFE(n, p, tmp_list)
134
  WALK_LIST_FIRST(n, tmp_list)
135 135
    {
136 136
      event *e = SKIP_BACK(event, n, n);
137 137
      ev_run(e);

Also available in: Unified diff