projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
write_kafka: ensure key is properly hashed to select partition
[collectd.git]
/
src
/
utils_cmd_flush.c
diff --git
a/src/utils_cmd_flush.c
b/src/utils_cmd_flush.c
index
f19835e
..
4106166
100644
(file)
--- a/
src/utils_cmd_flush.c
+++ b/
src/utils_cmd_flush.c
@@
-30,6
+30,7
@@
#include "common.h"
#include "plugin.h"
#include "utils_parse_option.h"
#include "common.h"
#include "plugin.h"
#include "utils_parse_option.h"
+#include "utils_cmd_flush.h"
int handle_flush (FILE *fh, char *buffer)
{
int handle_flush (FILE *fh, char *buffer)
{
@@
-124,7
+125,7
@@
int handle_flush (FILE *fh, char *buffer)
for (i = 0; (i == 0) || (i < plugins_num); i++)
{
char *plugin = NULL;
for (i = 0; (i == 0) || (i < plugins_num); i++)
{
char *plugin = NULL;
-
in
t j;
+
size_
t j;
if (plugins_num != 0)
plugin = plugins[i];
if (plugins_num != 0)
plugin = plugins[i];