-
- strlcpy(vl.host, hostname_g, sizeof(vl.host));
- strlcpy(vl.plugin, "pf", sizeof(vl.plugin));
- strlcpy(vl.type, type, sizeof(vl.type));
- strlcpy(vl.type_instance, inst, sizeof(vl.type_instance));
+ sstrncpy (vl.host, hostname_g, sizeof (vl.host));
+ sstrncpy (vl.plugin, "pf", sizeof (vl.plugin));
+ sstrncpy (vl.type, type, sizeof(vl.type));
+ sstrncpy (vl.type_instance, inst, sizeof(vl.type_instance));