projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
write_riemann plugin: fix warning
[collectd.git]
/
src
/
grpc.cc
diff --git
a/src/grpc.cc
b/src/grpc.cc
index
977c5b2
..
17168ec
100644
(file)
--- a/
src/grpc.cc
+++ b/
src/grpc.cc
@@
-664,7
+664,7
@@
static int c_grpc_config_listen(oconfig_item_t *ci) {
}
pkcp.cert_chain = read_file(cert);
} else if (!strcasecmp("VerifyPeer", child->key)) {
}
pkcp.cert_chain = read_file(cert);
} else if (!strcasecmp("VerifyPeer", child->key)) {
-
_Bool verify = 0
;
+
bool verify = false
;
if (cf_util_get_boolean(child, &verify)) {
return -1;
}
if (cf_util_get_boolean(child, &verify)) {
return -1;
}