projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
EWOULDBLOCK does not exist on platforms without O_NONBLOCK
[tinc]
/
src
/
event.c
diff --git
a/src/event.c
b/src/event.c
index
5cf8b48
..
e7fbb88
100644
(file)
--- a/
src/event.c
+++ b/
src/event.c
@@
-1,7
+1,7
@@
/*
event.c -- event queue
/*
event.c -- event queue
- Copyright (C) 2002-200
5
Guus Sliepen <guus@tinc-vpn.org>,
- 2002-2005 Ivo Timmermans
<ivo@tinc-vpn.org>
+ Copyright (C) 2002-200
6
Guus Sliepen <guus@tinc-vpn.org>,
+ 2002-2005 Ivo Timmermans
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-96,7
+96,7
@@
event_t *get_expired_event(void)
event = event_tree->head->data;
if(event->time < now) {
event = event_tree->head->data;
if(event->time < now) {
-
avl_delete(event_tree,
event);
+
event_del(
event);
return event;
}
}
return event;
}
}