src/plugin.c: Use the write-list in plugin_write.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Fri, 21 Nov 2008 23:57:53 +0000 (00:57 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Fri, 21 Nov 2008 23:57:53 +0000 (00:57 +0100)
Not the flush-list, doh!

src/plugin.c

index b004336..f222e3a 100644 (file)
@@ -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)