projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Treewide: use bool instead of _Bool
[collectd.git]
/
src
/
write_mongodb.c
diff --git
a/src/write_mongodb.c
b/src/write_mongodb.c
index
a6b39d3
..
f9bd1a0
100644
(file)
--- a/
src/write_mongodb.c
+++ b/
src/write_mongodb.c
@@
-50,8
+50,8
@@
struct wm_node_s {
char *user;
char *passwd;
char *user;
char *passwd;
-
_B
ool store_rates;
-
_B
ool connected;
+
b
ool store_rates;
+
b
ool connected;
mongoc_client_t *client;
mongoc_database_t *database;
mongoc_client_t *client;
mongoc_database_t *database;
@@
-63,7
+63,7
@@
typedef struct wm_node_s wm_node_t;
* Functions
*/
static bson_t *wm_create_bson(const data_set_t *ds, /* {{{ */
* Functions
*/
static bson_t *wm_create_bson(const data_set_t *ds, /* {{{ */
- const value_list_t *vl,
_B
ool store_rates) {
+ const value_list_t *vl,
b
ool store_rates) {
bson_t *ret;
bson_t subarray;
gauge_t *rates;
bson_t *ret;
bson_t subarray;
gauge_t *rates;