projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename tincctl to tinc.
[tinc]
/
src
/
event.c
diff --git
a/src/event.c
b/src/event.c
index
6b730f6
..
095e7c3
100644
(file)
--- a/
src/event.c
+++ b/
src/event.c
@@
-245,6
+245,12
@@
bool event_loop(void) {
return true;
}
return true;
}
+void event_flush_output(void) {
+ for splay_each(io_t, io, &io_tree)
+ if(FD_ISSET(io->fd, &writefds))
+ io->cb(io->data, IO_WRITE);
+}
+
void event_exit(void) {
running = false;
}
void event_exit(void) {
running = false;
}