X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/191fe7a34582876de01d3e62c2a6587baf59a283..064d9c633233495319bcaa66335ea3d24c0bd7a1:/tests/main.c diff --git a/tests/main.c b/tests/main.c index 5396c7d..97028e3 100644 --- a/tests/main.c +++ b/tests/main.c @@ -106,7 +106,6 @@ main (int argc, char **argv) int vty_port = 4000; int daemon_mode = 0; char *progname; - struct thread thread; char *config_file = NULL; /* Set umask before anything for security */ @@ -191,8 +190,7 @@ main (int argc, char **argv) test_init(); /* Fetch next active thread. */ - while (thread_fetch (master, &thread)) - thread_call (&thread); + thread_main (master); /* Not reached. */ exit (0);