projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
write_sensu: Re-add substitute for asprintf
[collectd.git]
/
src
/
target_v5upgrade.c
diff --git
a/src/target_v5upgrade.c
b/src/target_v5upgrade.c
index
d85a181
..
f7baa3a
100644
(file)
--- a/
src/target_v5upgrade.c
+++ b/
src/target_v5upgrade.c
@@
-25,6
+25,7
@@
**/
#include "collectd.h"
**/
#include "collectd.h"
+
#include "plugin.h"
#include "common.h"
#include "filter_chain.h"
#include "plugin.h"
#include "common.h"
#include "filter_chain.h"
@@
-463,9
+464,8
@@
static int v5_invoke (const data_set_t *ds, value_list_t *vl, /* {{{ */
void module_register (void)
{
void module_register (void)
{
- target_proc_t tproc;
+ target_proc_t tproc
= { 0 }
;
- memset (&tproc, 0, sizeof (tproc));
tproc.create = v5_create;
tproc.destroy = v5_destroy;
tproc.invoke = v5_invoke;
tproc.create = v5_create;
tproc.destroy = v5_destroy;
tproc.invoke = v5_invoke;