summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b366118)
raw | patch | inline | side by side (parent: b366118)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 9 Apr 2007 10:57:05 +0000 (12:57 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 9 Apr 2007 10:57:05 +0000 (12:57 +0200) |
src/plugin.c | patch | blob | history |
diff --git a/src/plugin.c b/src/plugin.c
index c927522afe14f8940cdc08a1ec1a7015a8f7897e..33636507b1656c9c6d30692bb50f9c0b300ba318 100644 (file)
--- a/src/plugin.c
+++ b/src/plugin.c
if (status != 0)
{
+ if (rf->wait_time < interval_g)
+ rf->wait_time = interval_g;
rf->wait_left = rf->wait_time;
rf->wait_time = rf->wait_time * 2;
if (rf->wait_time > 86400)
{
ERROR ("Initialization of plugin `%s' "
"failed with status %i. "
- "Plugin will be unloaded. TODO!",
+ "Plugin will be unloaded.",
le->key, status);
+ /* FIXME: Unload _all_ functions */
plugin_unregister_read (le->key);
}