X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/191fe7a34582876de01d3e62c2a6587baf59a283..064d9c633233495319bcaa66335ea3d24c0bd7a1:/watchquagga/watchquagga.c diff --git a/watchquagga/watchquagga.c b/watchquagga/watchquagga.c index 9bd7a5f..130f9fe 100644 --- a/watchquagga/watchquagga.c +++ b/watchquagga/watchquagga.c @@ -1386,14 +1386,9 @@ main(int argc, char **argv) progname, QUAGGA_VERSION, buf, mode_str[gs.mode]); } } - - { - struct thread thread; - - while (thread_fetch (master, &thread)) - thread_call (&thread); - } - + + thread_main (master); + /* Not reached. */ return 0; }