From 20e6d9e357997a9bbfd3034c7f948914e65bb448 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Tue, 26 Jul 2016 14:37:45 +0200 Subject: [PATCH] write_http: remove superfluous braces --- src/write_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/write_http.c b/src/write_http.c index ac6ef2f5..2d8e5535 100644 --- 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) -- 2.30.2