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