X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/6d99eb2938e976229cb50d848a1bc491532b54f9..HEAD:/watchquagga/watchquagga.c?ds=sidebyside 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; }