projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
867adc8
)
write_http: remove superfluous braces
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Tue, 26 Jul 2016 12:37:45 +0000
(14:37 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Tue, 26 Jul 2016 12:37:45 +0000
(14:37 +0200)
src/write_http.c
patch
|
blob
|
history
diff --git
a/src/write_http.c
b/src/write_http.c
index
ac6ef2f
..
2d8e553
100644
(file)
--- a/
src/write_http.c
+++ b/
src/write_http.c
@@
-457,7
+457,7
@@
static int wh_write_json (const data_set_t *ds, const value_list_t *vl, /* {{{ *
&cb->send_buffer_fill,
&cb->send_buffer_free,
ds, vl, cb->store_rates);
- if (status ==
(-ENOMEM)
)
+ if (status ==
-ENOMEM
)
{
status = wh_flush_nolock (/* timeout = */ 0, cb);
if (status != 0)