summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9f422a1)
raw | patch | inline | side by side (parent: 9f422a1)
author | Florian Forster <octo@noris.net> | |
Wed, 20 Aug 2008 10:06:25 +0000 (12:06 +0200) | ||
committer | Florian Forster <octo@noris.net> | |
Wed, 20 Aug 2008 10:06:25 +0000 (12:06 +0200) |
The flush callbacks not take two parameters, this was forgotten here.
src/plugin.c | patch | blob | history |
diff --git a/src/plugin.c b/src/plugin.c
index cedd8b0fb22ed68596b237e30b9dc012334680d2..629a9f89e69b3e69cc4a6d049dc63fa147c0e515 100644 (file)
--- a/src/plugin.c
+++ b/src/plugin.c
void plugin_flush_all (int timeout)
{
- int (*callback) (int);
+ int (*callback) (int timeout, const char *identifier);
llentry_t *le;
if (list_flush == NULL)
le = llist_head (list_flush);
while (le != NULL)
{
- callback = (int (*) (int)) le->value;
+ callback = (int (*) (int, const char *)) le->value;
le = le->next;
- (*callback) (timeout);
+ (*callback) (timeout, NULL);
}
} /* void plugin_flush_all */