From: Ruben Kerkhof Date: Sun, 2 Jul 2017 17:16:55 +0000 (+0200) Subject: write_mongodb.c: clang-format X-Git-Tag: collectd-5.8.0~132 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=7f9c8e704314392b556c27e4034fd910c25b6377;p=collectd.git write_mongodb.c: clang-format --- diff --git a/src/write_mongodb.c b/src/write_mongodb.c index 33f9bd50..63d3716b 100644 --- a/src/write_mongodb.c +++ b/src/write_mongodb.c @@ -144,7 +144,8 @@ static bson_t *wm_create_bson(const data_set_t *ds, /* {{{ */ size_t error_location; if (!bson_validate(ret, BSON_VALIDATE_UTF8, &error_location)) { ERROR("write_mongodb plugin: Error in generated BSON document " - "at byte %zu", error_location); + "at byte %zu", + error_location); bson_destroy(ret); return NULL; } @@ -377,10 +378,11 @@ static int wm_config_node(oconfig_item_t *ci) /* {{{ */ ssnprintf(cb_name, sizeof(cb_name), "write_mongodb/%s", node->name); - status = plugin_register_write( - cb_name, wm_write, &(user_data_t){ - .data = node, .free_func = wm_config_free, - }); + status = + plugin_register_write(cb_name, wm_write, + &(user_data_t){ + .data = node, .free_func = wm_config_free, + }); INFO("write_mongodb plugin: registered write plugin %s %d", cb_name, status); }