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-4.3' into collectd-4.4
[collectd.git]
/
src
/
rrdtool.c
diff --git
a/src/rrdtool.c
b/src/rrdtool.c
index
93c9d7a
..
653995d
100644
(file)
--- a/
src/rrdtool.c
+++ b/
src/rrdtool.c
@@
-285,7
+285,7
@@
static int ds_get (char ***ret, const data_set_t *ds, const value_list_t *vl)
if (isnan (d->min))
{
- s
trcpy (min, "U"
);
+ s
strncpy (min, "U", sizeof (min)
);
}
else
{
@@
-295,7
+295,7
@@
static int ds_get (char ***ret, const data_set_t *ds, const value_list_t *vl)
if (isnan (d->max))
{
- s
trcpy (max, "U"
);
+ s
strncpy (max, "U", sizeof (max)
);
}
else
{