X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/6d99eb2938e976229cb50d848a1bc491532b54f9..refs/heads/master:/zebra/test_main.c?ds=inline diff --git a/zebra/test_main.c b/zebra/test_main.c index 09f53ad..3dd02bc 100644 --- a/zebra/test_main.c +++ b/zebra/test_main.c @@ -273,7 +273,6 @@ main (int argc, char **argv) int daemon_mode = 0; char *config_file = NULL; char *progname; - struct thread thread; /* Set umask before anything for security */ umask (0027); @@ -388,8 +387,7 @@ main (int argc, char **argv) /* Print banner. */ zlog_notice ("Zebra %s starting: vty@%d", QUAGGA_VERSION, vty_port); - while (thread_fetch (zebrad.master, &thread)) - thread_call (&thread); + thread_main (zebrad.master); /* Not reached... */ return 0;