]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/mainloop.c
API: Include tbf.h and trie.h
[libucw.git] / ucw / mainloop.c
index b5e54965bb87de3e8fab2b3ba877b4c491553832..5fdc5ef42678146b194a0602aeb73e628fc65800 100644 (file)
@@ -277,7 +277,7 @@ timer_add(struct main_timer *tm, timestamp_t expires)
          HEAP_DELETE(struct main_timer *, m->timer_table, num_timers, MAIN_TIMER_LESS, MAIN_TIMER_SWAP, tm->index);
          tm->index = 0;
          tm->expires = 0;
-         GARY_POP(m->timer_table, 1);
+         GARY_POP(m->timer_table);
        }
       else
        {