projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'collectd-5.8'
[collectd.git]
/
src
/
rrdtool.c
diff --git
a/src/rrdtool.c
b/src/rrdtool.c
index
f6290d7
..
605a16c
100644
(file)
--- a/
src/rrdtool.c
+++ b/
src/rrdtool.c
@@
-569,7
+569,7
@@
static int rrd_cache_flush_identifier(cdtime_t timeout,
snprintf(key, sizeof(key), "%s.rrd", identifier);
else
snprintf(key, sizeof(key), "%s/%s.rrd", datadir, identifier);
- key[sizeof(key) - 1] =
0
;
+ key[sizeof(key) - 1] =
'\0'
;
status = c_avl_get(cache, key, (void *)&rc);
if (status != 0) {