X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/191fe7a34582876de01d3e62c2a6587baf59a283..064d9c633233495319bcaa66335ea3d24c0bd7a1:/zebra/test_main.c 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;