core ev: minor cleanups
authorAndrei Pelinescu-Onciul <andrei@iptel.org>
Tue, 6 Oct 2009 12:53:26 +0000 (14:53 +0200)
committerAndrei Pelinescu-Onciul <andrei@iptel.org>
Tue, 6 Oct 2009 12:53:26 +0000 (14:53 +0200)
commitda5d964be8818cadad03a637223257824bf3d031
treea4a7b737a7fc27308476c6c8583ceb61c60a8a6e
parentb16b129457bb7f1198fab78bea367e5c19ea8ca7
core ev: minor cleanups

- use if (unlikely(...)) when executing the callbacks (optimize
  for the case where there are no callbacks)
- debugging info printed only #if EXTRA_DEBUG
events.c