diff options
Diffstat (limited to 'opentracker.c')
| -rw-r--r-- | opentracker.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/opentracker.c b/opentracker.c index 2f2746d..14b817e 100644 --- a/opentracker.c +++ b/opentracker.c | |||
| @@ -1,8 +1,6 @@ | |||
| 1 | /* This software was written by Dirk Engling <erdgeist@erdgeist.org> | 1 | /* This software was written by Dirk Engling <erdgeist@erdgeist.org> |
| 2 | It is considered beerware. Prost. Skol. Cheers or whatever. | 2 | It is considered beerware. Prost. Skol. Cheers or whatever. |
| 3 | Some of the stuff below is stolen from Fefes example libowfat httpd. | 3 | Some of the stuff below is stolen from Fefes example libowfat httpd. */ |
| 4 | |||
| 5 | $Id$ */ | ||
| 6 | 4 | ||
| 7 | /* System */ | 5 | /* System */ |
| 8 | #include <ctype.h> | 6 | #include <ctype.h> |
| @@ -38,6 +36,7 @@ | |||
| 38 | #include "ot_stats.h" | 36 | #include "ot_stats.h" |
| 39 | #include "ot_tcp.h" | 37 | #include "ot_tcp.h" |
| 40 | #include "ot_udp.h" | 38 | #include "ot_udp.h" |
| 39 | #include "ot_worker.h" | ||
| 41 | #include "trackerlogic.h" | 40 | #include "trackerlogic.h" |
| 42 | 41 | ||
| 43 | /* Globals */ | 42 | /* Globals */ |
| @@ -429,8 +428,7 @@ int main(int argc, char **argv) { | |||
| 429 | listen_start_udp_workers(); | 428 | listen_start_udp_workers(); |
| 430 | 429 | ||
| 431 | server_mainloop(0); | 430 | server_mainloop(0); |
| 432 | tcp_workers_deinit(); | 431 | worker_stop_all(); |
| 433 | udp_workers_deinit(); | ||
| 434 | 432 | ||
| 435 | /* No thread is serving any more, so the teardown can run where a debugger | 433 | /* No thread is serving any more, so the teardown can run where a debugger |
| 436 | and the sanitizers can follow it */ | 434 | and the sanitizers can follow it */ |
