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.4'
[collectd.git]
/
src
/
perl.c
diff --git
a/src/perl.c
b/src/perl.c
index
3a56da6
..
541826f
100644
(file)
--- a/
src/perl.c
+++ b/
src/perl.c
@@
-567,7
+567,7
@@
static int pplugin_dispatch_values (pTHX_ HV *values)
sstrncpy (list.host, SvPV_nolen (*tmp), sizeof (list.host));
}
else {
sstrncpy (list.host, SvPV_nolen (*tmp), sizeof (list.host));
}
else {
- s
trcpy (list.host, hostname_g
);
+ s
strncpy (list.host, hostname_g, sizeof (list.host)
);
}
if (NULL != (tmp = hv_fetch (values, "plugin", 6, 0)))
}
if (NULL != (tmp = hv_fetch (values, "plugin", 6, 0)))