projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix comment
[collectd.git]
/
src
/
grpc.cc
diff --git
a/src/grpc.cc
b/src/grpc.cc
index
977c5b2
..
1e9cb20
100644
(file)
--- a/
src/grpc.cc
+++ b/
src/grpc.cc
@@
-41,8
+41,8
@@
extern "C" {
#include <stdbool.h>
#include "collectd.h"
#include <stdbool.h>
#include "collectd.h"
-#include "common.h"
#include "plugin.h"
#include "plugin.h"
+#include "utils/common/common.h"
#include "daemon/utils_cache.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)) {
}
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;
}