Many build fixes that turned up with GCC 4.6.
[collectd.git] / src / utils_cmd_flush.c
index 74807b8..0e7b350 100644 (file)
@@ -164,7 +164,7 @@ int handle_flush (FILE *fh, char *buffer)
        }
        else
        {
-               plugin_flush_all (timeout);
+               plugin_flush (NULL, timeout, NULL);
                print_to_socket (fh, "0 Done\n");
        }