projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4613cd7
)
clang formatting
author
Andrew Bays
<abays@redhat.com>
Fri, 2 Mar 2018 19:09:51 +0000
(14:09 -0500)
committer
Andrew Bays
<abays@redhat.com>
Fri, 2 Mar 2018 19:09:51 +0000
(14:09 -0500)
src/sysevent.c
patch
|
blob
|
history
diff --git
a/src/sysevent.c
b/src/sysevent.c
index
538618c
..
e7dfdab
100644
(file)
--- a/
src/sysevent.c
+++ b/
src/sysevent.c
@@
-386,7
+386,7
@@
static int gen_message_payload(const char *msg, char *sev, int sev_num,
if (yajl_gen_string(g, (u_char *)SYSEVENT_SYSLOG_TAG_VALUE,
strlen(SYSEVENT_SYSLOG_TAG_VALUE)) != yajl_gen_status_ok)
goto err;
-
+
if (yajl_gen_map_close(g) != yajl_gen_status_ok)
goto err;