projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/daemon/plugin.h: Enlarge the DATA_MAX_NAME_LEN.
[collectd.git]
/
src
/
match_regex.c
diff --git
a/src/match_regex.c
b/src/match_regex.c
index
bbc35cd
..
f7d5e3e
100644
(file)
--- a/
src/match_regex.c
+++ b/
src/match_regex.c
@@
-32,6
+32,7
@@
*/
#include "collectd.h"
*/
#include "collectd.h"
+
#include "filter_chain.h"
#include <sys/types.h>
#include "filter_chain.h"
#include <sys/types.h>
@@
-303,9
+304,8
@@
static int mr_match (const data_set_t __attribute__((unused)) *ds, /* {{{ */
void module_register (void)
{
void module_register (void)
{
- match_proc_t mproc;
+ match_proc_t mproc
= { 0 }
;
- memset (&mproc, 0, sizeof (mproc));
mproc.create = mr_create;
mproc.destroy = mr_destroy;
mproc.match = mr_match;
mproc.create = mr_create;
mproc.destroy = mr_destroy;
mproc.match = mr_match;