From 9272eec7d5dc98eaa6c96f22c002e77b4f37fdf0 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sat, 22 Nov 2008 00:57:53 +0100 Subject: [PATCH] src/plugin.c: Use the write-list in plugin_write. Not the flush-list, doh! --- src/plugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.11.0