projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1308 from mfournier/openldap-persistent-connection
[collectd.git]
/
src
/
daemon
/
filter_chain.c
diff --git
a/src/daemon/filter_chain.c
b/src/daemon/filter_chain.c
index
babf399
..
a622af9
100644
(file)
--- a/
src/daemon/filter_chain.c
+++ b/
src/daemon/filter_chain.c
@@
-333,7
+333,7
@@
static int fc_config_add_target (fc_target_t **targets_head, /* {{{ */
{
t->user_data = NULL;
}
{
t->user_data = NULL;
}
-
+
if (*targets_head != NULL)
{
ptr = *targets_head;
if (*targets_head != NULL)
{
ptr = *targets_head;
@@
-655,7
+655,7
@@
static int fc_bit_write_create (const oconfig_item_t *ci, /* {{{ */
}
plugin = child->values[j].value.string;
}
plugin = child->values[j].value.string;
- temp =
(fc_writer_t *)
realloc (plugin_list, (plugin_list_len + 2)
+ temp = realloc (plugin_list, (plugin_list_len + 2)
* (sizeof (*plugin_list)));
if (temp == NULL)
{
* (sizeof (*plugin_list)));
if (temp == NULL)
{