projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
No need to initialize static bools to false
[collectd.git]
/
src
/
ceph.c
diff --git
a/src/ceph.c
b/src/ceph.c
index
df4a720
..
9027771
100644
(file)
--- a/
src/ceph.c
+++ b/
src/ceph.c
@@
-404,8
+404,8
@@
static int compact_ds_name(char *buffer, size_t buffer_size, char const *src) {
size_t src_len;
char *ptr = buffer;
size_t ptr_size = buffer_size;
size_t src_len;
char *ptr = buffer;
size_t ptr_size = buffer_size;
-
_B
ool append_plus = 0;
-
_B
ool append_minus = 0;
+
b
ool append_plus = 0;
+
b
ool append_minus = 0;
if ((buffer == NULL) || (buffer_size <= strlen("Minus")) || (src == NULL))
return EINVAL;
if ((buffer == NULL) || (buffer_size <= strlen("Minus")) || (src == NULL))
return EINVAL;
@@
-470,7
+470,7
@@
static int compact_ds_name(char *buffer, size_t buffer_size, char const *src) {
return 0;
}
return 0;
}
-static
_B
ool has_suffix(char const *str, char const *suffix) {
+static
b
ool has_suffix(char const *str, char const *suffix) {
size_t str_len = strlen(str);
size_t suffix_len = strlen(suffix);
size_t offset;
size_t str_len = strlen(str);
size_t suffix_len = strlen(suffix);
size_t offset;