summaryrefslogtreecommitdiff
path: root/lib/event.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2014-11-03 10:42:55 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2014-11-03 10:42:55 +0100
commit6f8bbaa10bbd21729d0b62a5878febcbee2c0811 (patch)
tree5b20f464388a529084e53b24406b99df2210264d /lib/event.c
parent88a183c6c9a2b86b52f67e87bbc8b7edd32670c6 (diff)
Fininshing integrated OSPF.
Diffstat (limited to 'lib/event.c')
-rw-r--r--lib/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/event.c b/lib/event.c
index 916cf55c..b429c205 100644
--- a/lib/event.c
+++ b/lib/event.c
@@ -27,7 +27,7 @@ event_list global_event_list;
inline void
ev_postpone(event *e)
{
- if (e->n.next)
+ if (ev_active(e))
{
rem_node(&e->n);
e->n.next = NULL;