X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/6d99eb2938e976229cb50d848a1bc491532b54f9..110ea29b8fe7d11de09e19382a9a5808cfb90d32:/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);