projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'collectd-5.4' into collectd-5.5
[collectd.git]
/
src
/
routeros.c
diff --git
a/src/routeros.c
b/src/routeros.c
index
4ca9d5b
..
4863d7c
100644
(file)
--- a/
src/routeros.c
+++ b/
src/routeros.c
@@
-331,7
+331,7
@@
static int cr_config_router (oconfig_item_t *ci) /* {{{ */
router_data = malloc (sizeof (*router_data));
if (router_data == NULL)
return (-1);
router_data = malloc (sizeof (*router_data));
if (router_data == NULL)
return (-1);
- memset (router_data, 0, sizeof (router_data));
+ memset (router_data, 0, sizeof (
*
router_data));
router_data->connection = NULL;
router_data->node = NULL;
router_data->service = NULL;
router_data->connection = NULL;
router_data->node = NULL;
router_data->service = NULL;