projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
466577b
)
Please clang
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Tue, 19 Feb 2019 11:39:00 +0000
(12:39 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Tue, 19 Feb 2019 11:39:00 +0000
(12:39 +0100)
src/daemon/types_list.c
patch
|
blob
|
history
diff --git
a/src/daemon/types_list.c
b/src/daemon/types_list.c
index
20df457
..
7eb3cb2
100644
(file)
--- a/
src/daemon/types_list.c
+++ b/
src/daemon/types_list.c
@@
-104,7
+104,7
@@
static void parse_line(char *buf) {
if (fields[0][0] == '#')
return;
- data_set_t ds = {
0
};
+ data_set_t ds = {
{0}
};
sstrncpy(ds.type, fields[0], sizeof(ds.type));