projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use a Windows event to stop tinc when running as a service.
[tinc]
/
src
/
event.c
diff --git
a/src/event.c
b/src/event.c
index
5e6908f
..
8f15ebe
100644
(file)
--- a/
src/event.c
+++ b/
src/event.c
@@
-35,7
+35,7
@@
static const long READ_EVENTS = FD_READ | FD_ACCEPT | FD_CLOSE;
static const long WRITE_EVENTS = FD_WRITE | FD_CONNECT;
static DWORD event_count = 0;
#endif
-static
volatile
bool running;
+static bool running;
static int io_compare(const io_t *a, const io_t *b) {
#ifndef HAVE_MINGW