Revision e8f73195 sysdep/unix/io.c

View differences:

sysdep/unix/io.c
20 20
#include "lib/resource.h"
21 21
#include "lib/timer.h"
22 22
#include "lib/socket.h"
23
#include "lib/event.h"
23 24
#include "nest/iface.h"
24 25

  
25 26
#include "lib/unix.h"
......
58 59
{
59 60
  timer *t = (timer *) r;
60 61

  
61
  debug("(code %p, data %p, ");
62
  debug("(code %p, data %p, ", t->hook, t->data);
62 63
  if (t->randomize)
63 64
    debug("rand %d, ", t->randomize);
64 65
  if (t->recurrent)
......
682 683
  init_list(&near_timers);
683 684
  init_list(&far_timers);
684 685
  init_list(&sock_list);
686
  init_list(&global_event_list);
685 687
  now = time(NULL);
686 688
}
687 689

  
......
701 703
  FD_ZERO(&wr);
702 704
  for(;;)
703 705
    {
706
      ev_run_list(&global_event_list);
704 707
      now = time(NULL);
705 708
      tout = tm_first_shot();
706 709
      if (tout <= now)

Also available in: Unified diff