nfs plugin: Minor coding style fixes.
authorFlorian Forster <octo@collectd.org>
Sun, 18 Mar 2012 10:35:13 +0000 (11:35 +0100)
committerFlorian Forster <octo@collectd.org>
Sun, 18 Mar 2012 10:35:13 +0000 (11:35 +0100)
src/nfs.c

index cd1a523..de642a2 100644 (file)
--- a/src/nfs.c
+++ b/src/nfs.c
@@ -234,11 +234,11 @@ static void nfs_procedures_submit (const char *plugin_instance,
        size_t i;
 
        vl.values_len = 1;
-       sstrncpy(vl.host, hostname_g, sizeof (vl.host));
-       sstrncpy(vl.plugin, "nfs", sizeof (vl.plugin));
-       sstrncpy(vl.plugin_instance, plugin_instance,
+       sstrncpy (vl.host, hostname_g, sizeof (vl.host));
+       sstrncpy (vl.plugin, "nfs", sizeof (vl.plugin));
+       sstrncpy (vl.plugin_instance, plugin_instance,
                        sizeof (vl.plugin_instance));
-       sstrncpy(vl.type, "nfs_procedure", sizeof (vl.type));
+       sstrncpy (vl.type, "nfs_procedure", sizeof (vl.type));
 
        for (i = 0; i < values_num; i++)
        {