Code

src/plugin.c: Initialize plugins before checking if read callbacks are available.
authorSebastian Harl <sh@tokkee.org>
Wed, 2 Jul 2008 14:26:46 +0000 (16:26 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Sun, 6 Jul 2008 12:27:18 +0000 (14:27 +0200)
commit7699c3ec722a9414f3342d6cd31b7be440a5da6f
treef6cbf486aaf0cd2b0e23d888401e8be53a721580
parent1b3e36851fc2a6535379718674c1473b148202b4
src/plugin.c: Initialize plugins before checking if read callbacks are available.

plugin_init_all() checks if any read callbacks are available before starting
the read threads. A few plugins register their read callback from their
init callback though. By initializing the plugins before that the read
threads are still started correctly if all plugins register the read
callback in the init callback.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/plugin.c