projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Apply patch from Scott Lamb preventing an infinite loop when sending SIGALRM.
[tinc]
/
src
/
net.c
diff --git
a/src/net.c
b/src/net.c
index
31f1b0e
..
f6b1470
100644
(file)
--- a/
src/net.c
+++ b/
src/net.c
@@
-429,12
+429,7
@@
int main_loop(void)
if(sigalrm) {
logger(LOG_INFO, _("Flushing event queue"));
-
- while(event_tree->head) {
- event = event_tree->head->data;
- event->handler(event->data);
- event_del(event);
- }
+ flush_events();
sigalrm = false;
}