X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fgrpc.cc;h=1e9cb20c869a0be8613adae4540cb0c6e90aca27;hb=c4439c9cb3e2348ad7013644731de27a55eca478;hp=977c5b2cc2a5392a7950bd9c7805dff272dbd6f9;hpb=c3c9a56e37bac5d5be3b6beb0b33f89ea941295e;p=collectd.git diff --git a/src/grpc.cc b/src/grpc.cc index 977c5b2c..1e9cb20c 100644 --- a/src/grpc.cc +++ b/src/grpc.cc @@ -41,8 +41,8 @@ extern "C" { #include #include "collectd.h" -#include "common.h" #include "plugin.h" +#include "utils/common/common.h" #include "daemon/utils_cache.h" } @@ -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)) { - _Bool verify = 0; + bool verify = false; if (cf_util_get_boolean(child, &verify)) { return -1; }