projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65de34f
)
clang formatting
author
Andrew Bays
<abays@redhat.com>
Thu, 14 Dec 2017 13:43:07 +0000
(08:43 -0500)
committer
Andrew Bays
<abays@redhat.com>
Thu, 14 Dec 2017 13:43:07 +0000
(08:43 -0500)
src/sysevent.c
patch
|
blob
|
history
diff --git
a/src/sysevent.c
b/src/sysevent.c
index
d222e48
..
7ba2e87
100644
(file)
--- a/
src/sysevent.c
+++ b/
src/sysevent.c
@@
-512,7
+512,8
@@
static int sysevent_read(void) /* {{{ */
memset(json_val, '\0', listen_buffer_size);
- snprintf(json_val, listen_buffer_size, "%s%c", YAJL_GET_STRING(v), '\0');
+ snprintf(json_val, listen_buffer_size, "%s%c", YAJL_GET_STRING(v),
+ '\0');
match_str = (char *)&json_val;
}