From: Florian Forster Date: Fri, 21 Nov 2008 23:57:53 +0000 (+0100) Subject: src/plugin.c: Use the write-list in plugin_write. X-Git-Tag: collectd-4.6.0~156^2~6 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=9272eec7d5dc98eaa6c96f22c002e77b4f37fdf0;p=collectd.git src/plugin.c: Use the write-list in plugin_write. Not the flush-list, doh! --- diff --git a/src/plugin.c b/src/plugin.c index b0043362..f222e3ac 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -705,7 +705,7 @@ int plugin_write (const char *plugin, /* {{{ */ int success = 0; int failure = 0; - le = llist_head (list_flush); + le = llist_head (list_write); while (le != NULL) { callback = le->value; @@ -725,7 +725,7 @@ int plugin_write (const char *plugin, /* {{{ */ } else /* plugin != NULL */ { - le = llist_head (list_flush); + le = llist_head (list_write); while (le != NULL) { if (strcasecmp (plugin, le->key) == 0)