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